|
|
|
|
|
by fregante
1737 days ago
|
|
Thanks! I think it wouldn’t await the whole loop though for (const item of iterable)
async do {
await item()
}
This would be equivalent to Promise.all(arr.map(async item => {
await item()
})
Notice the lack of await before Promise.all |
|