scheduleIntervaledTask

Schedule a task to be executed on an interval a given number of times, or until the event returns true.

  1. UUID scheduleIntervaledTask(Duration interval, bool delegate() dg)
  2. UUID scheduleIntervaledTask(Duration interval, uint numExecutions, void delegate() dg)
  3. UUID scheduleIntervaledTask(Duration interval, uint numExecutions, bool delegate() dg)
    UUID
    scheduleIntervaledTask
    (
    Duration interval
    ,,
    bool delegate(
    )
    dg
    )

Parameters

interval
Type: Duration

The interval on which to call this task.

numExecutions
Type: uint

The number of time to execute the task.

dg
Type: bool delegate(
)

The task to execute.

Return Value

Type: UUID

The ID of the task.

Meta