DEV Community


Discussion on: 🔥 Quick Tip: How to give an array of promises and only return after all either fulfilled or rejected

emtes profile image
Enmanuel de la Nuez

How does it compare to Promise.all() ?

helderburato profile image
Helder Burato Berto Author

The difference between Promise.all and Promise.allSettled such the Promise.all when receiving a reject will stop the execution and the Promise.allSettled will execute all promises and return the status and value received independent if rejected or fulfilled.