From 3fd9933c0da50fd8f81992216391f3dbc021d951 Mon Sep 17 00:00:00 2001 From: SRIHARI S Date: Tue, 4 Oct 2022 18:45:58 +0530 Subject: [PATCH] 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 --- .../104-nodejs-async-programming/103-async-await.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md index b0197a63d..8fe6921c7 100644 --- a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md +++ b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md @@ -1 +1,8 @@ -# Async await \ No newline at end of file +# 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. + +Free Content +async/await mdn +W3Docs Async/Await +Difference between Promise and Async/Await