$AsynchronousTask

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (2)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]=
Introduced in 2012
(9.0)