Proposal: `await.all {...}` for parallelism

manuelbarzi manuelbarzi at gmail.com
Thu Nov 21 18:28:58 UTC 2019


> I have a solution for that:
>
> const promises = [...]
> await.all promises //returns an array of results
> await.race promises //returns a single result
>

well, my proposal is exactly that, but doing `await.all` by default with
just `await`.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20191121/192859ce/attachment.html>


More information about the es-discuss mailing list