A task that can be scheduled for one-time or repeated execution by MainLoopScheduler. More...
Public Member Functions | |
void | handle (Duration elapsedDuration, int repeatCount) |
Called when the timer expires and the task gets executed. More... | |
A task that can be scheduled for one-time or repeated execution by MainLoopScheduler.
void handle | ( | Duration | elapsedDuration, |
int | repeatCount | ||
) |
Called when the timer expires and the task gets executed.
elapsedDuration | The time since the last invocation or creation, rounded down to amultiple of the interval of the timer. |
repeatCount | The number of elapsed intervals since the last invocation. |