On 11/12/06, .M. <[EMAIL PROTECTED]> wrote: > > > > 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?
The pseudo-code you posted isn't enough for me to make any sense out of it. I need to see an example that's more complete. > > 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? ajax_tables, interpreter, and the documentation all use Deferreds for retrieving data from XHR. mochiregexp uses a Deferred for coalescing updates (callLater returns a Deferred), color_wheel uses it for calling a function periodically (but not in any particularly intelligent manner). There's some pseudocode examples in the presentation I gave at the ajax experience earlier this year: http://svn.mochikit.com/presentations/2006/ajax_experience/slides.html -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 -~----------~----~----~----~------~----~------~--~---
