Lines Matching refs:async
20 # comm send ?-async? <id> <cmd> ?<arg> ...?
192 ## API: Setup async result generation for a remotely invoked command.
195 # (current,async) -> bool (default 0)
201 if {![info exists comm(current,async)]} {
204 if {$comm(current,async)} {
217 async return for a command on a different channel"
230 # Mark the current command as using async result return. We do
234 set comm(current,async) 1
443 # args = ?-async | -command command? id cmd ?arg arg ...?
446 if {[string equal -async $opt]} {
447 set cmd async
465 "wrong # args: should be \"send ?-async? id arg ?arg ...?\""
1083 # Error in async call. Look for [bgerror] to report it. Same
1281 # async # {cmd} execute cmd but send no reply
1296 # Save state for possible async result generation
1302 send - async - command {}
1442 # Check and handle possible async result generation.
1570 ## Hooks to link async return and future processing into the regular
1573 # AsyncPrepare, AsyncCheck: Initialize state information for async
1575 # async return.
1579 set comm(current,async) 0
1585 # Check if the executed command notified us of an async return. If
1591 if {!$comm(current,async)} {return 0}
1610 ## invoked command may run before finally activating async result
1620 set hasstate [info exists comm(current,async)]
1624 set async $comm(current,async)
1635 set comm(current,async) $async
1648 set hasstate [info exists comm(current,async)]
1652 set async $comm(current,async)
1664 set comm(current,async) $async