ScheduledTask.this

Creates a new asynchronous scheduled task.

class ScheduledTask
final
this
(
Duration waitTime
,
void delegate
()
task
,
size_t repeat = 0
)

Parameters

waitTime Duration

the time to wait between each execution of the task.

task void delegate
()

The task to execute.

repeat size_t

(optional) The amount of times the task should be repeated. 0 = forever.

Meta