Dispatch Versus Send
Jim Bufalini
jim at visitrieve.com
Thu Mar 4 17:35:32 EST 2010
Gregory Lypny wrote:
> What's the difference between the two other than Dispatch using the
> normal message path?
I think one of the more significant considerations when deciding to use
dispatch or send "in time" is the last point Trevor made, which is dispatch
is more like executing a command or function in that the handler that
executes the dispatch is "blocked" from exiting until the result of the
dispatch is returned, where a send "in time" allows the calling handler to
exit first before the send is executed. It should be noted here that a send
without the "in time" option is the same as it also is executed immediately
and is therefore similar to executing a command.
Aloha from Hawaii,
Jim Bufalini
More information about the use-livecode
mailing list