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
parent
73c906e5da
commit
3fd9933c0d
1 changed files with 8 additions and 1 deletions
@ -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…
Reference in new issue