WLJS LogoWLJS Notebook

TaskRemove

TaskRemove[task] terminates and removes the specified task.

Examples

Remove a scheduled task:

task = SessionSubmit[ScheduledTask[Print["tick"], 1]];
TaskRemove[task]

Remove all tasks:

TaskRemove /@ Tasks[]

Please visit the official Wolfram Language Reference for more details.

On this page