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


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


open allclose all

Basic Examples  (1)

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

Options  (1)

"Timeout"  (1)

Wait for an asynchronous task to complete and then continue, even if it is not done:

Introduced in 2012