DEV Community

Discussion on: The future of Javascript - features to keep an eye on

Collapse
 
nlepage profile image
Nicolas Lepage

No, $.when() is like Promise.all(), they both fail/reject as soon as one of the given promises rejects.
Promise.allSettled will resolve when all given promises have either resolved or rejected, and then you have to manually check the results...

Collapse
 
victorcorcos profile image
Victor Cordeiro Costa

Great! Thanks for the response!