Schedule a task to be executed until it returns true.
The task to execute.
The ID of the task.
See Implementation
Schedule a task to be executed until it returns true.