Return the time until the first scheduled task, or Duration.max if no tasks are scheduled.
See Implementation
Return the time until the first scheduled task, or Duration.max if no tasks are scheduled.