On 11/12/06, .M. <[EMAIL PROTECTED]> wrote: > > Hi there. I'm having trouble using Deferreds to do some basic AJAX > calls. Something fundamental I'm not clear on yet. > > With re. to the following fragment > > Q) Where does the callback function return its variable to? How can you > access it?
The callback's last argument is whatever value was passed to the Deferred. Look at any of the examples... > 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. -bob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
