That's a good use-case for DeferredList. I've made a primary implementation here: http://trac.mochikit.com/changeset/548. To use it, simply get the 2 deferred from sendXMLHttpRequest, create a DeferredList with these 2 deferreds, and add your function as callback to the DeferredList.
-- Thomas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
