$AsynchronousTask
returns the current AsynchronousTaskObject.
$AsynchronousTask
$AsynchronousTask
returns the current AsynchronousTaskObject.
Examples
Basic Examples (2)
When the Wolfram Language evaluates the event function, $AsynchronousTask is set to the AsynchronousTaskObject that generated the event:
URLFetchAsynchronous["http://exampledata.wolfram.com/5mb.dat",
If[#2 === "data", MessageDialog[Column[{"Download complete for ", $AsynchronousTask}]]]&]When not running an event function or error function, $AsynchronousTask is not set:
$AsynchronousTaskHistory
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_2026_$asynchronoustask, author="Wolfram Research", title="{$AsynchronousTask}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/$AsynchronousTask.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_$asynchronoustask, organization={Wolfram Research}, title={$AsynchronousTask}, year={2012}, url={https://reference.wolfram.com/language/ref/$AsynchronousTask.html}, note=[Accessed: 15-June-2026]}