RemoveAsynchronousTask

RemoveAsynchronousTask 已被 TaskRemove 取代,其在版本 11.2 中被试验性引入.

RemoveAsynchronousTask[asyncTask]

停止非同步计算,并且从系统删除 asyncTask.

更多信息

  • asyncTask 必须是一个需要处理的 AsynchronousTaskObject,正如类似 AsynchronousTasks 的函数返回的.
  • 删除一个非同步任务避免非同步计算,但是不一定立即停止非同步任务.

范例

基本范例  (1)

开始两个长下载任务:

使用 AsynchronousTaskObject 表达式,删除一个下载任务:

不再列出删除掉的任务:

Wolfram Research (2012),RemoveAsynchronousTask,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html.

文本

Wolfram Research (2012),RemoveAsynchronousTask,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html.

CMS

Wolfram 语言. 2012. "RemoveAsynchronousTask." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html.

APA

Wolfram 语言. (2012). RemoveAsynchronousTask. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_removeasynchronoustask, organization={Wolfram Research}, title={RemoveAsynchronousTask}, year={2012}, url={https://reference.wolfram.com/language/ref/RemoveAsynchronousTask.html}, note=[Accessed: 18-November-2024 ]}