async/await improvements

Kevin Smith zenparsing at gmail.com
Wed Nov 12 13:10:15 PST 2014


>
> The only thing they couldn't do (under this proposal) is expose the
> promise being used to userland (to eliminate the chance for userland to
> hold on to the promise and expect to be able to add an error handler at any
> time).
>

And lose the ability to combine the results of async functions with "all",
"race", and any other promise combinator?  That's a core strength of the
current design.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141112/2d29940f/attachment.html>


More information about the es-discuss mailing list