On Fri Feb 7 06:50 AM, Anne van Kesteren wrote:
> On Fri, Feb 7, 2014 at 12:45 PM, Yutaka Hirano <yhir...@chromium.org> wrote:
> > Sorry for knowing little about ES "consensus", is this the final decision?
> > Will you change it again?
> 
> Yeah, some clarity would be nice.
> 

>From a user perspective, can someone explain what chain() does?

Recently hit an issue with Q.all() vs serial execution of promises:
https://github.com/jbondc/cordova-plugman/commit/ad2c74b3344c8899e8ede12827f7ca4637a01b6f#diff-9f06c51911da08ebd6400ff77d629c1eR309

chain() isn't mentioned here:
http://wiki.ecmascript.org/doku.php?id=strawman:concurrency

Promise.all() is included in the spec but not the case for serial execution:
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise.all-resolve-element-functions

What seems like a preferred api / pattern from an ecma PoV to serially execute 
promises?

e.g. Promise.serial(),  Promise.ordered(),  Promise.follow()

Is it a common enough use case to be included in the spec?

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to