StartAsynchronousTask[task]
allows asynchronous evaluations from task after it has been stopped.
StartAsynchronousTask
StartAsynchronousTask[task]
allows asynchronous evaluations from task after it has been stopped.
Details
- task is an AsynchronousTaskObject expression.
- StartAsynchronousTask starts the task after it has been stopped with StopAsynchronousTask.
Examples
Basic Examples (1)
Start a download that takes some time to complete:
progress = 0;
downloadComplete = False;
Row[{"Progress: ", ProgressIndicator[Dynamic[progress]]}]
handleEvent[_, "progress", {bytesReceived_, bytesTotal_, ___}] := (
progress = bytesReceived / bytesTotal;)
handleEvent[_, "data", data_] :=
(responseData = data;
MessageDialog["Download complete."])
downloadTask = URLFetchAsynchronous["http://exampledata.wolfram.com/20mb.dat",
handleEvent, Progress -> True]StopAsynchronousTask[downloadTask]StartAsynchronousTask[downloadTask]AsynchronousTasks[]History
Text
Wolfram Research (2012), StartAsynchronousTask, Wolfram Language function, https://reference.wolfram.com/language/ref/StartAsynchronousTask.html.
CMS
Wolfram Language. 2012. "StartAsynchronousTask." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StartAsynchronousTask.html.
APA
Wolfram Language. (2012). StartAsynchronousTask. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StartAsynchronousTask.html
BibTeX
@misc{reference.wolfram_2026_startasynchronoustask, author="Wolfram Research", title="{StartAsynchronousTask}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/StartAsynchronousTask.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_startasynchronoustask, organization={Wolfram Research}, title={StartAsynchronousTask}, year={2012}, url={https://reference.wolfram.com/language/ref/StartAsynchronousTask.html}, note=[Accessed: 15-June-2026]}