Lesson
Async keyword in es2016
The async keyword is a syntactic sugar and a powerful tool to simply our asynchronous code.
- Duration
- 3 min
- Access
- Pro
- Transcript
- Needs source
The async keyword is a syntactic sugar and a powerful tool to simply our asynchronous code.
In this lesson we will look at how we can leverage the new async keyword to write clean and consistent code. Also, we will contrast and compare it with functions using promises.