Schedule a task to be executed on an interval a given number of times, or until the event returns true.
The interval on which to call this task.
The number of time to execute the task.
The task to execute.
The ID of the task.
See Implementation
Schedule a task to be executed on an interval a given number of times, or until the event returns true.