RemoveAsynchronousTask

RemoveAsynchronousTask is being phased out in favor of TaskRemove, which was introduced experimentally in Version 11.2.

RemoveAsynchronousTask[asyncTask]

stops asynchronous evaluations and removes asyncTask from the system.

Details

  • asyncTask must be an active AsynchronousTaskObject, as returned by functions like AsynchronousTasks.
  • Removing an asynchronous task prevents asynchronous evaluations but does not necessarily stop the asynchronous task immediately.

Examples

Basic Examples  (1)

Start two long downloads:

Remove one of the download tasks using its AsynchronousTaskObject expression:

The removed task will no longer be listed:

Introduced in 2012
 (9.0)