DEV Community 👩‍💻👨‍💻

Discussion on: Avoid async/await hell

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

judionit profile image
Judicaël Andriamahandry Author

yes yes, it was on the note too

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