You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In TKTService, I'd like to have the possibility to trigger one iteration before the delay expires. I tried the following implementation and would like to know your opinion (I'm not strong in concurrency :-/):
IMPORTANT: When I wrote previous comment, I was working in an outdated version of TKTService (#72 changed it). I'm sorry! The issue's validity is independent, anyway.
I tried with the up-to-date code to anticipate the iteration with other approach: doing a restart. That resulted in #75.
tinchodias
changed the title
TKTService: a way "anticipate" iteration?
TKTService: provide a method to move the next iteration ahead?
Apr 21, 2020
In TKTService, I'd like to have the possibility to trigger one iteration before the delay expires. I tried the following implementation and would like to know your opinion (I'm not strong in concurrency :-/):
as:
(where stepDelay is a Duration) and added this method:
Which seems to work. Before, I tried an alternative: don't touch TKTService at all but anticipate the Delay with:
but this looked more fragile... touching private behavior of a Kernel class.
The text was updated successfully, but these errors were encountered: