JavaScript Promise combinators: <code>.all()</code>, <code>.race()</code>, <code>.allSettled()</code>

1 · Axel Rauschmayer · Aug. 4, 2019, 3:18 p.m.
Summary
In this blog post, we take a look at three static methods of Promise: Promise.all() and Promise.race() which JavaScript has had since ECMAScript 6 when Promises were added to the language. Promise.allSettled() which recently advanced to stage 4 and will therefore be part of ECMAScript 2020. [Read rest of post]...