Tag: await
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.
ECMAScript 2016's 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!
Rounding off this three-part series on JavaScript promises, in this article we'll look at promise events, combining promises with ECMAScript 2017's async/await
combo, plus some of the standard APIs that use or depend on promises.