Schedule a task to be executed until the duration expires.
The duration to execute the task for.
The task to execute.
The ID of the task.
See Implementation
Schedule a task to be executed until the duration expires.