Files
developer-roadmap/src/data/roadmaps/nodejs/content/104-nodejs-async-programming/103-async-await.md
T
2024-07-04 09:28:53 +01:00

729 B

Async/Await

Async/Await is a special syntax to work with promises in a more comfortable fashion. It's easy to understand and use. Adding the keyword async before a function ensures that the function returns a promise and the keyword await makes JavaScript wait until that promise settles and returns the result.

Visit the following resources to learn more: