WaitAll
This feature is not supported on the Wolfram Cloud.

WaitAll[expr]
waits for all concurrent evaluations represented by EvaluationObject expressions in expr to finish, then returns the resulting expression obtained.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Wait for a single evaluation:

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

Waiting evaluations are scheduled concurrently on any available parallel kernel:

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

Wait for all evaluations contained in a sum:

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

Functions used need to be distributed first:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2008
(7.0)