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:

Options  (1)

"Timeout"  (1)

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

Wolfram Research (2012), WaitAsynchronousTask, Wolfram Language function, https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html.

Text

Wolfram Research (2012), WaitAsynchronousTask, Wolfram Language function, https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html.

CMS

Wolfram Language. 2012. "WaitAsynchronousTask." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html.

APA

Wolfram Language. (2012). WaitAsynchronousTask. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html

BibTeX

@misc{reference.wolfram_2024_waitasynchronoustask, author="Wolfram Research", title="{WaitAsynchronousTask}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_waitasynchronoustask, organization={Wolfram Research}, title={WaitAsynchronousTask}, year={2012}, url={https://reference.wolfram.com/language/ref/WaitAsynchronousTask.html}, note=[Accessed: 21-December-2024 ]}