On 11/07/2015 12:17 PM, Monte Goulding wrote:

I had a look in the source and I don’t think it would be all that tricky to 
upgrade send so you can send private handlers from the same object. Send 
without a timer is easy as you already have a handle to the execution context 
which gives you a handle to the calling object. Send in time is a little 
tricker but not overly so. It just involves adding the calling object in a 
number of calls and also to the internal pending messages data structure. I 
guess we could add an extra caller object reference item to the pendingMessages 
as a result. The engine uses the same mechanism to send a lot of messages so 
you would need to handle the caller being nil meaning an engine message.

Very cool.
What file were you looking at? I'd love the be able to use private callbacks for socket commands.

--
 Mark Wieder
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to