AsynchronousTaskObject["name",id,sessionid]
is an object that represents asynchronous evaluations from a particular asynchronous task.
AsynchronousTaskObject
AsynchronousTaskObject["name",id,sessionid]
is an object that represents asynchronous evaluations from a particular asynchronous task.
Details
- URLFetchAsynchronous returns an AsynchronousTaskObject.
- id is a serial number used to distinguish asynchronous tasks.
- sessionid is the $SessionID of the Wolfram System session where the AsynchronousTaskObject was created.
- An AsynchronousTaskObject can be passed to StopAsynchronousTask, StartAsynchronousTask, and WaitAsynchronousTask.
Examples
Basic Examples (1)
task1 = URLFetchAsynchronous["http://exampledata.wolfram.com/20mb.dat",
If[#2 === "data", MessageDialog["Download #1 complete."]]&]
task2 = URLFetchAsynchronous["http://exampledata.wolfram.com/20mb.dat",
If[#2 === "data", MessageDialog["Download #2 complete."]]&]Remove one of the download tasks using its AsynchronousTaskObject expression:
RemoveAsynchronousTask[task1]The removed task will no longer be listed:
AsynchronousTasks[]History
Text
Wolfram Research (2012), AsynchronousTaskObject, Wolfram Language function, https://reference.wolfram.com/language/ref/AsynchronousTaskObject.html.
CMS
Wolfram Language. 2012. "AsynchronousTaskObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AsynchronousTaskObject.html.
APA
Wolfram Language. (2012). AsynchronousTaskObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AsynchronousTaskObject.html
BibTeX
@misc{reference.wolfram_2026_asynchronoustaskobject, author="Wolfram Research", title="{AsynchronousTaskObject}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/AsynchronousTaskObject.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_asynchronoustaskobject, organization={Wolfram Research}, title={AsynchronousTaskObject}, year={2012}, url={https://reference.wolfram.com/language/ref/AsynchronousTaskObject.html}, note=[Accessed: 13-June-2026]}