Let’s look at some new syntax introduced as a part of ES2017 to help organize code around promises. In many cases, this new syntax — namely the
await keywords — will help you write more readable and maintainable asynchronous code, but it’s not without its drawbacks. We'll first look at how
await can be used and then talk about some of the downstream implications of using it.
To read this article in full, please click here