Promise.any(), which is supported by the just-released Firefox 79. It's like
Promise.race(), except it listens only for the first promise to be fulfilled, not merely resolved either way.
In the first article in this series we looked at the history and run-up to the game-changing
async/await combo. In this article we'll get down to using it and seeing precisely how it works.
async/await combo really was a game-changer when it comes to writing shallow, synchronous-looking code that hides away asynchronous operations, and they really took promises to a new level. Let's meet them!
Promises a great way to write shallow, readable code that looks synchronous but actually hides away asynchronous operations. In this first of three articles I'll be showing you how they work, and what problem they solve.
Promise.resolve() and how promises can handle concurrent requests.
async/await combo, plus some of the standard APIs that use or depend on promises.