DEV Community

Discussion on: Modern JavaScript, 10 things you should be using, starting today

Collapse
 
phyberapex profile image
PhyberApex

Not really. If you look at the example he uses the return value of the first await for the second one, so he can't send them in parallel. It's exactly the use case for async/await :)

If there are no dependencies, I'd agree to use promises and a promise.all()

~Cheers