DEV Community

Discussion on: Promise.all (ES2015) vs Promise.allSettled (ES2020). What's changed? 🤔

Collapse
 
shahzaibkhalid profile image
Shahzaib Khalid

Dean, the specification uses the following naming convention:

  • fulfilled - The action relating to the promise succeeded
  • rejected - The action relating to the promise failed
  • pending - Hasn't fulfilled or rejected yet
  • settled - Has fulfilled or rejected
Collapse
 
dean profile image
dean

Just looked this up on MDN, didn't know that this was the current specification! Thanks for letting me know.