How to do chain requests in series and parallel?


#1

Continuing the discussion from Guide: When and how to handle asynchronous side-effects in testing?:

Briefly, you want to look at Ember.RSVP.all(), Ember.RSVP.hash() and remember that when you return a promise from another promise’s callback, it will be resolved before the entire chain is resolved.

Stefan Penner does a great job of explaining Promises in September Boston Meetup.