3 ms·
Promise.all vs sequential awaits is a good tip but Only if the results of the awaits are independent (obvious). I see that all the time. It’s easier to see how
by cmollis 9y ago
Promise.all vs sequential awaits is a good tip but Only if the results of the awaits are independent (obvious). I see that all the time. It’s easier to see how inefficient that is when you’re chaining .then().. await hides that and gives the impression that it’s parallel.