amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

run-multiple-awaits-in-parallel-using-promise-all/ #34

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Run multiple awaits in parallel using Promise.all() – Amit Merchant – A blog on PHP, JavaScript, and more

Let’s talk about parallel promises today. So, in JavaScript, Promises provides a way of doing asynchronous programming in the language.

https://www.amitmerchant.com/run-multiple-awaits-in-parallel-using-promise-all/

Seanmclem commented 2 years ago

Any special considerations needed to catch properly with all.settled?

amitmerchant1990 commented 2 years ago

@Seanmclem Nothing specific since Promise.allSettled() handles the rejecting promises for you.