FlashcardIntermediate
Promise.all vs allSettled vs race vs any
These four combinators differ in whether they wait for all, any, or the first promise, and how they treat rejections.
Question
How do Promise.all, allSettled, race, and any differ?
Click to reveal answer