$AsynchronousTask

$AsynchronousTask is being phased out in favor of $CurrentTask, which was introduced experimentally in Version 11.2.

$AsynchronousTask

returns the current AsynchronousTaskObject.

Details

  • $AsynchronousTask is set when the Wolfram Language evaluates an asynchronous task's event function or error function.

Examples

Basic Examples  (2)

When the Wolfram Language evaluates the event function, $AsynchronousTask is set to the AsynchronousTaskObject that generated the event:

When not running an event function or error function, $AsynchronousTask is not set:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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