DEV Community

Discussion on: Avoid async/await hell

Collapse
 
kaleman15 profile image
Kevin Alemán

If you care about the actual resolve/rejection, take a look at Promise.allSettled, which doesn't throw on rejects

Collapse
 
judionit profile image
Judicaël Andriamahandry

yes yes, it was on the note too

Promise.allSettled will wait until every promise has either resolved or rejected