RemoveAsynchronousTask

RemoveAsynchronousTask[asyncTask]
stops asynchronous evaluations and removes asyncTask from the system.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Start two long downloads:

In[1]:=
Click for copyable input
Out[1]=
Out[1]=

Remove one of the download tasks using its AsynchronousTaskObject expression:

In[2]:=
Click for copyable input

The removed task will no longer be listed:

In[3]:=
Click for copyable input
Out[3]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »