DEV Community

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

Collapse
 
helderberto profile image
Helder Burato Berto

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.