Add Async-Await (#2057)

* Update 103-async-await.md

* Update content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/2109/head
SRIHARI S 2 years ago committed by GitHub
parent 73c906e5da
commit 3fd9933c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md

@ -1 +1,8 @@
# Async await
# Async/Await
An async function is a function declared with the async keyword, and the await keyword is permitted within it. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function'>async/await mdn</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.w3docs.com/learn-javascript/async-await.html'>W3Docs Async/Await</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.geeksforgeeks.org/difference-between-promise-and-async-await-in-node-js/'>Difference between Promise and Async/Await</BadgeLink>

Loading…
Cancel
Save