5 ms·
I like your approach with your await library. You're probably aware of this, but the jQuery "Deferred" implementation of promises has a similar mechanism that
by andywhite37 13y ago
I like your approach with your await library. You're probably aware of this, but the jQuery "Deferred" implementation of promises has a similar mechanism that I'm not sure is common in other JavaScript promise implementations:
$.when()
http://api.jquery.com/jQuery.when/ http://api.jquery.com/jQuery.when/
- jasondenizac 13y agoQ has `Q.all()` which does the same thing: https://github.com/kriskowal/q/wiki/API-Reference#promiseall https://github.com/kriskowal/q/wiki/API-Reference#promiseall
- andywhite37 13y agoOh that's cool, thanks for the reply. I haven't looked at Q yet, but I've heard a lot about it. I guess it's time to have a look.