cancel

An action that indicates the scheduler should cancel the task, meaning it can never be executed again.

Once a task has been cancelled, it cannot be restarted under any circumstances. If you wish to pause a task and resume it later, use pause instead.

Return

an action that stops a task from executing