How about awaiting Arrays ?

Andy Earnshaw andyearnshaw at gmail.com
Fri Mar 3 16:56:43 UTC 2017


On Fri, 3 Mar 2017 at 16:51 Michał Wadas <michalwadas at gmail.com> wrote:

> Actually I would go with
>
> await ...expr;
>
I think `await.all` is clearer and more explicit, and await.race could be
added too.

Also: here's previous discussion that didn't go anywhere:
https://esdiscuss.org/topic/proposal-await-p1-p2-equivalent-to-await-promise-all-p1-p2
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170303/7c550538/attachment.html>


More information about the es-discuss mailing list