Tasks

Tasks[]

gives a list of TaskObject expressions that represent currently submitted tasks.

Details

Examples

Basic Examples  (3)

Display a list of currently running tasks:

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

Create a task running locally:

In[1]:=
Click for copyable input

Display a list of tasks:

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

Remove the task:

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

Create a task running locally:

In[1]:=
Click for copyable input

Create a task running on a remote kernel:

In[2]:=
Click for copyable input

Display a list of tasks:

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

Remove all tasks:

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

See Also

TaskObject  SessionSubmit  LocalSubmit  CloudSubmit  $CurrentTask  TaskSuspend  TaskAbort  TaskRemove

Introduced in 2017
(11.2)