Re:Node v8.0.0 Released
by krisdol on Tuesday May 30, 2017 @06:28PM
(#14449071)
You can use .map to call await on every element in the array, or define a new function so you don't have to write that all the time:
edit: this is wrong but I can't delete it. Haven't used async as much as promises.
[ Parent
| on HN ]
Well an async function always returns a Promise. await simply blocks until the Promise is resolved to continue execution. Thats why I am wondering why they decided to await only on a single Promise.