WaitAsynchronousTask

WaitAsynchronousTask is being phased out in favor of TaskWait, which was introduced experimentally in Version 11.2.

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)