Promises

Brendan Eich brendan at mozilla.org
Fri Nov 9 18:14:03 PST 2012


David Bruant wrote:
> Personally, to synchronize different async operations, I've never read 
> code more elegant than what Q.all offers.

What about task.js's join?

https://github.com/mozilla/task.js/blob/master/examples/read.html#L41

Generators + promises = tasks ;-).

/be


More information about the es-discuss mailing list