ScheduledTask

Wrapper around an asynchronous scheduled task.

Constructors

this
this(Duration waitTime, void delegate() task, size_t repeat)

Creates a new asynchronous scheduled task.

Members

Properties

id
size_t id [@property getter]

Gets the id of the task.

repeat
size_t repeat [@property getter]

Gets the amount of times the task should be repeated.

scheduler
Scheduler scheduler [@property getter]

Gets the scheduler of the task.

waitTime
Duration waitTime [@property getter]

Gets the time to wait between each execution of the task.

Meta