Last active
September 17, 2019 18:06
-
-
Save dg92/19c518ae89b6888beef872b973b3d485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | Short-circuit? | Short-circuits on? | Fulfilled on? | Rejected on? | | |
|--------------------|:--------------:|------------------------|-------------------------|------------------------| | |
| Promise.all | ✅ | First rejected promise | All promise fulfilled | First rejected promise | | |
| Promise.allSettled | ❌ | N/A | Always | N/A | | |
| Promise.race | ✅ | First settled | First promise fulfilled | First rejected promise | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment