> The callback's last argument is whatever value was passed to the > Deferred.
I don't understand what you mean. Can you explain with reference to the pseudo-code I posted? > Look at any of the examples... I can't find a useful example. Can you point me at one that uses a return value from a callback? > > Q) How can you check whether the callback has happened yet from another > > function (e.g. business() below so that you don't continue until it's > > taken place? > > There are a lot of different ways to do that. It depends on how you > have things set up. ?? I've been reading the Mochikit docs for months but can't get my head around this construct. If there's any simpler doco on Deferred or a tutorial anywhere, please let me know. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
