Two commonly used patterns are:
- The Promises API, which represents the eventual completion of an operation.
- Async/await syntax, which pauses the execution of a function until that promise is settled.
Together, these two patterns allow you to create asynchronous code that is easy to follow, readable, and behaves more or less like synchronous code.
Hi, I'm Kent C. Dodds and in my latest workshop, we’ll take a deep dive into Promises and async/await to improve your asynchronous programming.
When you're done you will:
- write asynchronous functions with async/await
- create promises to resolve JSON objects
- see how these two patterns relate to one another
- write more readable, easy-to-follow async code.
- Promises (very deep dive)