WaitAsynchronousTask

As of Version 11.2, WaitAsynchronousTask has been superseded by the operations on TaskWait.

WaitAsynchronousTask[task]

waits for task to complete.

Details and Options

  • task is an AsynchronousTaskObject expression.
  • WaitAsynchronousTask waits until task completes.
  • The following option can be given:
  • "Timeout"Infinitytime to wait before returning

Examples

open allclose all

Basic Examples  (1)

Starting an asynchronous task and waiting until it completes is equivalent to running the task synchronously:

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

Options  (1)

Introduced in 2012
(9.0)