$AsynchronousTask

Details

  • $AsynchronousTask is set when the Wolfram Language evaluates an asynchronous task's event function or error function.

Examples

Basic Examples  (2)

When the Wolfram Language evaluates the event function, $AsynchronousTask is set to the AsynchronousTaskObject that generated the event:

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

When not running an event function or error function, $AsynchronousTask is not set:

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

See Also

AsynchronousTasks  StopAsynchronousTask  StartAsynchronousTask  URLSaveAsynchronous  WaitAsynchronousTask

Introduced in 2012
(9.0)