DeviceExecuteAsynchronous[device,"command",fun]
イベントが起ったときにハンドラ関数 fun を呼び出し,デバイス上で指定コマンドの非同期実行を開始する.
DeviceExecuteAsynchronous[device,"command",params,fun]
パラメータ params でコマンドを実行する.
DeviceExecuteAsynchronous
DeviceExecuteAsynchronous[device,"command",fun]
イベントが起ったときにハンドラ関数 fun を呼び出し,デバイス上で指定コマンドの非同期実行を開始する.
DeviceExecuteAsynchronous[device,"command",params,fun]
パラメータ params でコマンドを実行する.
詳細
- デバイスは,DeviceObjectによって,あるいはデバイスクラスを表す文字列によって指定することができる.
- DeviceExecuteAsynchronousは,AsynchronousTaskObjectを返す非ブロック関数である.
- パラメータ params は,未加工パラメータのリストとして,あるいはパラメータの名前と値を与える連想または規則のリストとして与えることができる.
- イベント指定がハンドラ関数にフィードされる形式は,デバイスによって異なる.
例題
例 (1)
背景でURLFetchAsynchronousを呼び,指定されたURLからクッキーを回復するデモデバイスから非同期的に読む:
テクニカルノート
関連するガイド
テキスト
Wolfram Research (2014), DeviceExecuteAsynchronous, Wolfram言語関数, https://reference.wolfram.com/language/ref/DeviceExecuteAsynchronous.html.
CMS
Wolfram Language. 2014. "DeviceExecuteAsynchronous." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DeviceExecuteAsynchronous.html.
APA
Wolfram Language. (2014). DeviceExecuteAsynchronous. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DeviceExecuteAsynchronous.html
BibTeX
@misc{reference.wolfram_2025_deviceexecuteasynchronous, author="Wolfram Research", title="{DeviceExecuteAsynchronous}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/DeviceExecuteAsynchronous.html}", note=[Accessed: 12-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_deviceexecuteasynchronous, organization={Wolfram Research}, title={DeviceExecuteAsynchronous}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceExecuteAsynchronous.html}, note=[Accessed: 12-April-2026]}