RemoveAsynchronousTask

RemoveAsynchronousTask is being phased out in favor of TaskRemove, which was introduced experimentally in Version 11.2.

RemoveAsynchronousTask[asyncTask]

stops asynchronous evaluations and removes asyncTask from the system.

Details

  • asyncTask must be an active AsynchronousTaskObject, as returned by functions like AsynchronousTasks.
  • Removing an asynchronous task prevents asynchronous evaluations but does not necessarily stop the asynchronous task immediately.

Examples

Basic Examples  (1)

Start two long downloads:

Remove one of the download tasks using its AsynchronousTaskObject expression:

The removed task will no longer be listed:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_removeasynchronoustask, author="Wolfram Research", title="{RemoveAsynchronousTask}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html}", note=[Accessed: 22-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_removeasynchronoustask, organization={Wolfram Research}, title={RemoveAsynchronousTask}, year={2012}, url={https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html}, note=[Accessed: 22-October-2021 ]}

CMS

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

APA

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