AsynchronousTaskObject["name",id,sessionid]
特定の非同期タスクからの非同期評価を表すタスクオブジェクトである.
AsynchronousTaskObject
AsynchronousTaskObject["name",id,sessionid]
特定の非同期タスクからの非同期評価を表すタスクオブジェクトである.
詳細
- URLFetchAsynchronousはAsynchronousTaskObjectを返す.
- id は非同期タスクを識別するために使われる連続番号である.
- sessionid はAsynchronousTaskObjectが作られたWolframシステムセッションの$SessionIDである.
- AsynchronousTaskObjectはStopAsynchronousTask,StartAsynchronousTask,WaitAsynchronousTaskに渡すことができる.
例題
例 (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."]]&]片方のダウンロードタスクを,そのAsynchronousTaskObject式を使って削除する:
RemoveAsynchronousTask[task1]AsynchronousTasks[]テキスト
Wolfram Research (2012), AsynchronousTaskObject, Wolfram言語関数, 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: 07-August-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: 07-August-2026]}