async await | Namaste JavaScript - Season 02 - Ep 04

  Рет қаралды 230,450

Akshay Saini

Akshay Saini

Күн бұрын

Wanna dive deep into React JS with me?
Checkout Namaste React - namastedev.com/namaste-react/...
Use coupon code : CODE72 and register now by link below. Only valid for first 500 students.
Running heavy discounts right now, register today!
async and await are keywords in JavaScript that are used to work with asynchronous code, making it easier to handle asynchronous operations like network requests, file I/O, or timers in a more synchronous-like manner, which can make your code more readable and maintainable.
00:00 - Introduction
01:08 - What is async in JS
15:15 - Using Await with async
21:48 - Diving deep into async/await
40:43 - Behind the scenes of async await
55:09 - Real world examples
01:04: 28 - Error Handling
01:09:00 - interview Tips
01:11:03 - async await vs promise then/catch
If this video was helpful, give it a thumbs up and subscribe to my channel for more such videos. 🔔
Link to Subscribe: kzfaq.info...
If you want me to cover any specific topic, then comment down below. I would be happy to help you.
Cheers,
Akshay Saini
akshaysaini.in
Stay Connected:
LinkedIn - / akshaymarch7
Facebook - / akshaymarch7
Instagram - / akshaymarch7
Twitter - / akshaymarch7
#Javascript #JavascriptInterviewQuestions #AkshaySaini

Пікірлер: 1 400
@akshaymarch7
@akshaymarch7 9 ай бұрын
🔥Dive deep into React JS with me, checkout `Namaste React` - namastedev.com/namaste-react Like this video and subscribe to the channel for more new video coming very soon. 🚀 Also comment down below what topics should I cover next.. ✌
@niteshrathore4341
@niteshrathore4341 9 ай бұрын
@akshaymarch7 can you explain the higher order component also
@user-tc6uo6xe5i
@user-tc6uo6xe5i 9 ай бұрын
Sir please launch a react js course with starting from javascript and also include backend part also
@ksubramanyeshwara
@ksubramanyeshwara 9 ай бұрын
It would be nice if you make 3 to 5 projects in vanilla JS including all the basics to advanced concepts. Machine coding questions and System design as well. Also DSA in JavaScript would be awesome. 🙏🙏🙏
@twitterupdate8072
@twitterupdate8072 9 ай бұрын
Sir please cover AJAX,
@Vj_0_4
@Vj_0_4 9 ай бұрын
Omg please do complete season 2 thats the least we could ask for please put a proper fullstop on this gem playlist❤😊
@AmarSingh-uw1db
@AmarSingh-uw1db 9 ай бұрын
Gratitude Sirji ❤❤. I request Sir to please make videos on 1) Design patterns 2) Solid Principles 3) File Upload(Single and Multiple) 4) Video Upload as Data stream 5) Forms with validation, error handling and warning messages 6) Ajax and xmlhttpRequest 7) Importing javascript and code Reusablility
@user-lx4ej7qj6y
@user-lx4ej7qj6y 5 ай бұрын
you and your skills its too AMAZING after the long practice with other KZfaqrs today I have cleared my doubts so thanks for this but bhai aisa mat karna ki ye course bhi paid kar do tum😃😃😃
@akshaychavan5511
@akshaychavan5511 5 күн бұрын
No one can match Akshay's energy while teaching. He's as curious as a small kid. Love it!!
@mohammadaffan6702
@mohammadaffan6702 3 ай бұрын
Promise: Think of a promise as a guarantee made by someone (like a function) to do something and provide you with the result later. It's like ordering food at a restaurant. You get a promise (receipt) saying your order will be ready soon. You can wait for it (.then()) or check on it later (.catch()). Async/Await: Async/await is like asking someone (a function) to do something for you, but instead of waiting for them to finish right there, you tell them you'll do something else while they work. It's like asking a friend to pick up your order from the restaurant. You can go do other things (like order a drink) while your friend (the async function) waits for the food (awaits the promise).
@trialaccount2244
@trialaccount2244 4 ай бұрын
Ques). for those who thinks if code reaches await of p1 suspends function execution and after 5 sec it should go to await p2 the timer for p2 should start and should take 10 sec there so overall function execution should be 15sec? Ans). the timer ticking doesn't start at await, instead it started in the beginning of the code only where promise was declared. If the declaration would have been like inside async p1 declare then p1 await after that p2 declared follwed by p2 await then function would have taken 15 secs
@prachuryaray9034
@prachuryaray9034 Ай бұрын
Exactly. The concept of hoisting comes into play.
@sourabhgarg2890
@sourabhgarg2890 2 күн бұрын
thanks bro u cleared my doubt
@kamalakantapanda4255
@kamalakantapanda4255 9 ай бұрын
Tiger is back
@swamipatil4566
@swamipatil4566 9 ай бұрын
Loda tigers😂
@vamshikrishna6001
@vamshikrishna6001 6 ай бұрын
Yes he resembles 🐅 😅. Orange & black 😂
@ekamjotkaur8381
@ekamjotkaur8381 9 ай бұрын
You deserve so much respect and love for the efforts you put in especially for the examples you think to demonstrate such complex concepts
@omkarshidore4062
@omkarshidore4062 5 ай бұрын
Great energy, throughout the series, I've been working into backend, cloud & data-science for past 4 years, wanted to understand frontend for System design, Luckily I ran into your channel, spent the new years long weekend on both seasons of NamasteJS. Sending some love! Keep rolling out the content! 🍻
@vipulmaheshwari3568
@vipulmaheshwari3568 9 ай бұрын
Your dedication to teach us such hard concepts with such deep understanding is commendable Akshay Sir.
@MahipalSingh-rx6yr
@MahipalSingh-rx6yr 9 ай бұрын
Happy to see you again on the channel. I really enjoy your way of teaching.
@ayeshamajid7712
@ayeshamajid7712 6 ай бұрын
Thank you so much Akshay Sir.Have watched a lot of tutorials, but the way you have explained the async await concept and how it works behind the scences is amazing.
@shafaatakhunzada8081
@shafaatakhunzada8081 9 ай бұрын
An excellent and straightforward explanation of async/await! I highly recommend the Namaste React course to everyone. Even as an experienced developer with 4 years of React experience, I found the course immensely valuable. It clarified topics I was already using but wasn't entirely clear on, making them as easy as a piece of cake to learn.
@hardikjain_08
@hardikjain_08 9 ай бұрын
I wish there were more amazing teachers like you can't thank you enough. I once hated web development now I love Js and react just because of the way you teach. Thank you Sir 🙏
@juhibhardwaj6275
@juhibhardwaj6275 9 ай бұрын
One of the best teachers I have ever seen. I deeply appreciate the unwavering effort you put into your teaching. Thanks for the awesome content 🙂
@aleemnasiyathulla8158
@aleemnasiyathulla8158 9 ай бұрын
Thanks, Akshay for putting your effort into taking a session like this. I can see your dedication to fulfilling your subscriber's expectations of you. I saw each and every video of your javascript and react JS live sessions. I learned a lot from you especially how to learn any skills or concepts. I loved JavaScript because of one and only you. Early I didn't know how to learn things. If you are taking a session like this big companies will struggle to reject the candidate. Thank you, my great teacher.☺☺☺☺☺
@darshanahari5271
@darshanahari5271 8 ай бұрын
One of the best way to explain this topic . Comparison of what happens when we use .then to handle promises as well as using async/ await combo to handle promises. Thank you for clearing my basics. Respect! 💯
@rahulmaurya6451
@rahulmaurya6451 9 ай бұрын
You made us Fall in love with JS ❤.. You are a true Gem . Please don't stop making videos , We can not get these premium content anywhere else,, we are totally rely on you,, It's pleasure to see you back again. Thankyou for making such amazing contents ❤
@rohinijadhav7224
@rohinijadhav7224 9 ай бұрын
Thank you for sharing your knowledge😄Akshay. Please add following topics as well in namste JS season 2: 1. Browser - behind the scenes 2. DS in javascript 3. How to improve performance of application
@AdarshMitr
@AdarshMitr 9 ай бұрын
I am loving it more after subscribing to "Namaste React" course. Both free and paid contents of yours have same value and are at par than any other course. Thanks for your guidance, Sir!
@SarthakKumar
@SarthakKumar 9 ай бұрын
This is just awesome!!! These types of questions were being asked in many assessment rounds too and i usually get confused back then, but after this video, i feel confident. Great work, please keep making such amazing content 🔥
@Vishnu-lc9gt
@Vishnu-lc9gt 9 ай бұрын
A movie can't hold my attention for an hour , but this glued me to my screen for the full episode. Great video as usual!🤩
@borntobefree8298
@borntobefree8298 6 ай бұрын
Never seen a better explanation than this, How much you must be working to get all this knowledge and then putting out here for all of us with so much of effort and work. Thanks from all the developer community. You are a true teacher. Please keep teaching all of us .
@ezcoding69
@ezcoding69 8 ай бұрын
I can't watch videos that are longer than 10 minutes, but when it's your video, I don't know how time passes. Even if the video is an hour long, it feels short. Thanks a lot for your tremendous effort, man!❤❤❤❤
@manishkumar-hl8ce
@manishkumar-hl8ce 9 ай бұрын
This is a complete video nothing more is expected from you Akshay. Great job bhai 👏👏👏👏
@VarshaKharat-yv2ov
@VarshaKharat-yv2ov 9 ай бұрын
I searched a lot before this on youtube for async and await but I didn't find any video that explains how async and await work behind the scene thank you so much for covering this topic Akshay please make more videos this was very helpful for students and for building strong fundamentals
@shubhsharma19
@shubhsharma19 4 ай бұрын
Idk why this video has so less likes, this deserves so much appreciation!
@akshaymarch7
@akshaymarch7 4 ай бұрын
Thank you, please share this on social media and to your friends and help us reach more people out there. Your support is much valuable to us. ♥️
@shubhsharma19
@shubhsharma19 4 ай бұрын
All my serious programmer friends watch your content already haha @@akshaymarch7
@tushargadwani9249
@tushargadwani9249 5 ай бұрын
This is the first Playlist which I have completed till the last and you have made fall in love with JavaScript. Thanks a Lot Sir ❣
@abhinavkumar6344
@abhinavkumar6344 8 ай бұрын
Such a nice and deep concepts (which u have gained from years of hardwork and practice from various resources), you have combined here in a single video for free.People dont have to look lots of references and blogs. This is really very appreciable and a great resource for the developers. Thanks a lot😍(Great work).
@Gourav-kl5jt
@Gourav-kl5jt 9 ай бұрын
Akshay, You are a great teacher. I am really enjoying javascript now.
@sumitkawale2549
@sumitkawale2549 9 ай бұрын
I was waiting so long for this series ❤❤❤. Glad that you come back
@franklinfargoj9957
@franklinfargoj9957 8 ай бұрын
Heart-fully appreciate your hard work and dedication for teaching.Thank you for the excellent content.
@lostgen36
@lostgen36 5 ай бұрын
Amazing how all the concepts you taught in season 1 about task queue, microtask queue, call stack, event loop, execution context are in play here! There is nobody else who explains these topics in such deep level! But once you understand these in deep level and get your hands dirty in the chrome dev tools, it all just makes sense!
@nk17nikky
@nk17nikky 8 ай бұрын
I'm an QA engineer and wanted to learn JS concepts to prepare for my job interviews. And after watching all of your videos season 1 and 2, I'm feeling so confident that I can crack Developer JS interviews (after some practice obviously). Thank you so much for making the Namaste JavaScript series. 🙏Namaste 🙏
@premshahu9321
@premshahu9321 9 ай бұрын
4 page of notes , simplified and yet deep dive into the concepts why people don't understand and take an interest in learning anything of the teacher is this much enthusiastic and passionate about teaching code . Actually I find some of you tube channels that teach coding are just coders after a long I saw a proper coding teacher who can teach me and beleive I didn't get bored at all and by the time my intrest in knowing just keep increase. You are the teacher that not only teach but also develops the energy and enthusiasm and will to learn Thank you Akshay sir ❤
@ishitagoswami6243
@ishitagoswami6243 7 ай бұрын
Genuinely the bestttt JavaScript course I've ever come across, the way you explained each and everything in detail was amazing. Thanks a lot for sharing your knowledge❤
@ninjatechstudio
@ninjatechstudio 8 ай бұрын
Wow, this tutorial on async/await is simply superb! 🚀 The explanation was crystal clear, and I loved how you broke down complex concepts into easy-to-understand steps. Thanks to your guidance, I finally grasp the power of async/await in JavaScript. Keep up the fantastic work! 👏 Looking forward to more insightful videos like this.
@ganeshpavan7895
@ganeshpavan7895 6 ай бұрын
This was very useful in diving deep to know how exactly things are running behind. Could you also please do a video on how exactly the callstack/fetch webapi/callback queue/micro task queue behaves when async function code reaches to await or using multiple awaits in a single async promise function.
@ghayoorhussain8930
@ghayoorhussain8930 9 ай бұрын
Please continue this series i already learned a lot from you
@skrafikulislam3266
@skrafikulislam3266 4 ай бұрын
This is the best video I've ever seen on this topic, not only my concepts are clear but also I feel so much confident
@pujadey355
@pujadey355 3 ай бұрын
Omg, how can someone explain in such a simplified way? Thank you so much for this. U are a great teacher.
@kunalnailwal369
@kunalnailwal369 9 ай бұрын
Teacher like you can literally boost confidence in new coming developers like me. Please never stop teaching us🙏
@user-rd1bj8nd7s
@user-rd1bj8nd7s 8 ай бұрын
If this video had been made earlier, I would have done 2 more internships by now. But Thanks a lot❤. Didn't found a single video on KZfaq who makes me understood it so well as you did.
@saha7pritam
@saha7pritam 7 ай бұрын
This is the best video of the Javascript series for me. Too much knowledge in it. loved this.
@saisaranyan9208
@saisaranyan9208 5 ай бұрын
Akshay, I wish I had teachers like you during my college.. Thanks for making this course available for free in KZfaq. I have enrolled for Namaste React few days back. Wish you all the success.
@ksubramanyeshwara
@ksubramanyeshwara 9 ай бұрын
Welcome back. Waiting for more topics to be covered. Also bring machine coding and system design and DSA in JavaScript please 🙏
@pavankulal9311
@pavankulal9311 8 ай бұрын
I wish we would have teacher like you in college what an explanation 🙇. You make anything interesting. I have coding for 1 year I didn't knew how did it work behind the scenes . Thank you so much sir ❤️🙇
@akshaymarch7
@akshaymarch7 8 ай бұрын
@canyouvish
@canyouvish 8 ай бұрын
Such a beautiful tech-series. Have a really better clarity on how things work under the hood - wrt the Call Stack and overall JS Engine. Makes me understand and love JS more. Thank You for the great work, Akshay ❤
@harshitagarwal3472
@harshitagarwal3472 7 ай бұрын
This is great. Learned async await from other videos also , but never gone so deep in this concept like this. ❤
@GAURAVMOKASHI
@GAURAVMOKASHI 8 ай бұрын
Akshay Sir, Please clarify my doubt ! const p1 = new Promise( (resolve, reject) =>{ setTimeout(() =>{ resolve("Promise Resolved Value!!") }, 10000); }); const p2 = new Promise( (resolve, reject) =>{ setTimeout(() =>{ resolve("Promise Resolved Value!!") }, 5000); }); async function handlePromise(){ console.log("Hello World !!") const val = await p1; console.log("Namaste Javascript") console.log(val) const val2 = await p2; console.log("Namaste Javascript 2") console.log(val2) } handlePromise(); In the above condition, when p1 will resolve after 10 seconds, and p2 will resolve after 5 seconds then we see that after 10 seconds it will resolve both value. As p2's setTimeout value is lesser(5 Seconds) than p1.(10 Seconds) As you said when JavaScript fetch or reach the line of handlePromise function the following this will be happen. 1. In call stack first handlePromise is loaded and it console log the "Hello World !!" 2. Then it go to the next line, finds that there has been await p1. 3. When it saw await p1, handlePromise Function remove from call stack. 4. After the 10 seconds over, then Function go to call stack and start execution from where it is left. 5. Now the "Namaste Javascript" is print and also the val value i.e. "Promise Resolved Value!!" Now my query is How it will print/console.log the "Namaste Javascript 2" and also the val value i.e. "Promise Resolved Value!!" ? Because as I follow you in the Video, at that time it will not fetch the const val2 = await p2 Line. When it fetch "const val2 = await p2 ;" Logically It will then Remove the handlePromise Function remove from call stack Again. So before it go to "const val2 = await p2 ;" Line Interpreter do not know that there has another AWAIT Function there. (i.e. const val2 = await p2;) So how it prints "Namaste Javascript 2" and "Promise Resolved Value!!" for second time after 10 seconds? Please enlighten me for this condition. Thank you for Namste React also!
@GAURAVMOKASHI
@GAURAVMOKASHI 8 ай бұрын
Inshort Did p1 and p2 promises are resolved simultaneously during function execution? As p1 took 10 sec, does it mean in background ,p2 was also getting executed? I'm not getting it why Js engine didn't wait for p2 since after executing promise p1, it execute p2 and should wait for p2 to resolve because p1 and p2 are different promise and can have different operations.
@nikunj0706
@nikunj0706 8 ай бұрын
@@GAURAVMOKASHI The reason is, promises are not getting started executing when the function is called and it reaches to line 28 [At 43:21 ]Promises were added in the call stack a way before, before the function execution started. So, you are right, untill line 28 is getting executed, js will not move furhter, But P2 was already started running when jt encountered at line 18. Now simply understand this as, call the same function twice. Only first promise in the first function where function will get suspended and wait. For all other 3 promises there will be no wait and values will be printed no time
@nikunj0706
@nikunj0706 8 ай бұрын
The reason is, promises are not getting started executing when the function is called and it reaches to line 28 [At 43:21 ]Promises were added in the call stack a way before, before the function execution started. So, you are right, untill line 28 is getting executed, js will not move furhter, But P2 was already started running when jt encountered at line 18. Now simply understand this as, call the same function twice. Only first promise in the first function where function will get suspended and wait. For all other 3 promises there will be no wait and values will be printed no time
@vikaskumar-hc1cs
@vikaskumar-hc1cs 7 ай бұрын
1. In call stack first handlePromise is loaded . and excution context is created for handlePromise. a) Their is two phase one is memory phase and second excution phase . when code goes from memory phase it see the promise and it will register a promise . b) when code goes in second phase ( excution phase) it will see that promise it resolve or not. ** every js program run in two phase sorry for bad english
@bm9code
@bm9code 6 ай бұрын
@@vikaskumar-hc1cs no problem with your English; from where do you got this information, is there any resource
@G_O_J_O_S_A_T_O_R_U
@G_O_J_O_S_A_T_O_R_U 9 ай бұрын
I wanted to take a moment to express my sincere appreciation for your course "Namaste Javascript". Your teaching style is clear and concise, and the way you explain complex concepts is truly impressive. I particularly enjoyed the practical examples you provided, which helped me to better understand the material. Thank you for sharing your knowledge and expertise with the world. I look forward to learning more from you in the future.
@67009
@67009 8 ай бұрын
Anyone purchase his namste react course? ...please let me knnow that all hooks are covered or not..? i am also planning to buy that's the reason i am asking...becoz in playlist its not mention about hooks ...i saw only useSate and memo hook...so please tell me if any one purchased..thankyou..
@G_O_J_O_S_A_T_O_R_U
@G_O_J_O_S_A_T_O_R_U 8 ай бұрын
@@67009 yes i have purchased it recently and let me tell you my friend this is the best react course i have found. I have currently completed 2 projects. Its very good not only for his teaching but the community support of namaste react is very good you will get to see lot of react devs. I entered this course with absolutely no knowledge on some of the topics like redux and testing and all . But now i feel very confident in it
@G_O_J_O_S_A_T_O_R_U
@G_O_J_O_S_A_T_O_R_U 8 ай бұрын
@@67009 about hooks akshay has covered many hooks while doing the project. In theory he did not go in deep about irrelevant hooks but while doing project he covered most of them including custom hooks also
@67009
@67009 8 ай бұрын
@@G_O_J_O_S_A_T_O_R_U thankyou buddy..
@noemil6036
@noemil6036 8 ай бұрын
Absolutely love it. Listening on my holidays in Spain. Thank you so much
@danishagarwal9
@danishagarwal9 8 ай бұрын
Video is definitely amazing, crisp clear. Thanks! Loving the salute, smile, song at the end :D
@Abi-rv3qk
@Abi-rv3qk 5 ай бұрын
I have completed Namaste JavaScript Seasons 1 and 2, and wow, what a course! . lots of in-depth knowledge about JavaScript, which I'm confident will stay with me for life. Anything bigger than this would only be in dreams. Now, I'm excited to start the React JS course. 😊 And you are the best teacher I've ever seen. Keep up the great work!"❤
@akshaymarch7
@akshaymarch7 5 ай бұрын
Wish you the best, keep rising! 🚀
@abhishekkhatana1256
@abhishekkhatana1256 9 ай бұрын
Finally The King of JS is back with another Banger 🔥🔥🔥🔥🔥🔥🔥
@akshaythakare1199
@akshaythakare1199 9 ай бұрын
I am amazed Akshay ! I never knew this thing that how async await function works behind the scenes. Thanks for the video. Please continue this series with more such amazing videos in JS.
@gautamnegi-wh9xi
@gautamnegi-wh9xi 8 ай бұрын
Best Best Best that is what this video is, when you say nobody teaches this, that is literally true the way you explain the way you teach the way you deep dive that is simply amazing amaaaaaazingggg. I purchased your react course the way you taught the knowledge you shared in that course was next level the best thing was you actually knew where we the one watching the course will get stuck so you taught accordingly really appreciate it. You are Amazing a teacher.
@sushankznation
@sushankznation 9 ай бұрын
Thank you, Akshay, for such an amazing series. I'm eagerly waiting for #NamasteDSA now ;)
@prasannakr887
@prasannakr887 9 ай бұрын
Yes, We need #NamasteDSA
@ksubramanyeshwara
@ksubramanyeshwara 9 ай бұрын
everyone waiting
@raghavbansal8068
@raghavbansal8068 6 ай бұрын
Thank you soo much for such a mindblowing explaination 🔥 I bet there couldn’t be a better explanation for covering such complex topic in such easy way.
@akshaymarch7
@akshaymarch7 6 ай бұрын
Thanks for supporting my channel, means a lot to me!
@komalpatil4711
@komalpatil4711 4 ай бұрын
Must watch for All Front End Developers!!! Nothing can beat his way of explanation and his deep understanding.
@nutankumari8184
@nutankumari8184 2 ай бұрын
The best javascript and react teacher. You are the real gem. Thank you for sharing your knowledge with us. I have learned from many teachers on youtube but no one teaches like you.🙇‍♀🙇‍♀
@hersheynaik3029
@hersheynaik3029 9 ай бұрын
what a coincidence I just finished watching Namaste React and was sad it got over and I came to KZfaq to check out your channel. BOOM new video🥳. OMG. After Namaste React I feel like I found the right path to learning new things in the right way. Thank you so much. I will give you a guru Dakshina when I get a job🤞
@sandeeproy6564
@sandeeproy6564 9 ай бұрын
Do you feel like you can create an application on your own, after you've finished Namaste React? Give us a review of your experience with the course please.
@aloktrivedi3285
@aloktrivedi3285 9 ай бұрын
I also learned js from #akshaysaini, and currently I am learning react with nextjs (bcoz it becomes very easy to learn react with nextjs). What is your review of this course, is it worth paying 2000 for this course. Plzz tell
@hersheynaik3029
@hersheynaik3029 9 ай бұрын
@@aloktrivedi3285 100% worth it. He also goes in-depth and gives great insights about how everything actually works behind the scenes. After this course not only nextjs You can use or pair any library or framework with React with ease.
@hersheynaik3029
@hersheynaik3029 9 ай бұрын
@@sandeeproy6564 yess. Although I knew some basics of react, this course literally changed my perspective. I have confidence that I can build any web app now. The thing is after watching the lecture please put extra efforts of researching by yourself and code it. Try adding extra features etc. It'll be fun.
@bajishaik4802
@bajishaik4802 9 ай бұрын
@@aloktrivedi3285 it is totally worth of paying 2000 or even more, because in this we actually build projects not just learning react and after this course you can have ability to build some other applications as well.
@k.ashutoshbaitharu3964
@k.ashutoshbaitharu3964 8 ай бұрын
I watched the whole series and while waiting for this particular episode I landed a job, Thank you Akshay, the concepts learned from you in Namaste JS one way or another helped me secure the position.
@akshaymarch7
@akshaymarch7 8 ай бұрын
Congratulations, wish you the best for your career ahead. 🚀
@KrishT0
@KrishT0 5 ай бұрын
really its the only video in the youtube which cleared the async await concept at very deep level.
@vishaltanna8198
@vishaltanna8198 4 ай бұрын
One of the best teachers for FE. I particularly enjoyed the practical examples you provided, which helped me to better understand the material.
@krishnamoorthysrinivasan1737
@krishnamoorthysrinivasan1737 8 ай бұрын
at 45:16 in your example when you say 40 seconds for the second promise its actually 20 seconds after the first promise is executed but totally it takes 40 seconds from the beginning which says JS doesn't wait :)
@kartiklanjewar2892
@kartiklanjewar2892 14 сағат бұрын
yes,correct
@aloktrivedi3285
@aloktrivedi3285 9 ай бұрын
After so many days akshay bhaiyaa you are back😍😍😍😍. I am planning to purchase your namaste react course. I started learning js from your namaste js series, and now it's been 6 months 🥰🥰🙏🙏🙏🙏
@vinayakag900
@vinayakag900 9 ай бұрын
On which platform Namaste react course is available
@aloktrivedi3285
@aloktrivedi3285 9 ай бұрын
@@vinayakag900 on his own website namastedev
@ishantkushwaha534
@ishantkushwaha534 8 ай бұрын
​ @vinayakag900 Namaste Dev website.
@rahuldutta5060
@rahuldutta5060 9 ай бұрын
Amazing video. I am already using this async await keyword in daily life programing. Now my understanding is totally clear about this topic. Thank you once again for clearing this depth knowledge.🙏❤
@kmusic5090
@kmusic5090 8 ай бұрын
Akshay sir this video is the best video among all async await videos, not just this but your whole Javascript series, I was too beginner before this course and now I got so good understanding of so many concepts just because of your videos. You are the best. Thanks a lot 🙏
@the_corporate_wallah
@the_corporate_wallah 9 ай бұрын
Sir, It is because of you that I understood JavaScript. And today I am working as a javascript developer. Thank you so much Sir 😊❤
@akshaymarch7
@akshaymarch7 9 ай бұрын
@knowledgedose1956
@knowledgedose1956 9 ай бұрын
​​@@akshaymarch7I think at some point in video it starts repeating. Look at 7:45
@skzahirulislam2820
@skzahirulislam2820 9 ай бұрын
​@@knowledgedose1956repetition is good
@SandeepSaini-tr9sv
@SandeepSaini-tr9sv 7 ай бұрын
i am skipping any movies or web shows just for this series ❤
@archan_pandya
@archan_pandya 4 ай бұрын
Your ability to explain everything is simply amazing! Thank you for your fantastic videos 🙏
@unbreakableshorts7330
@unbreakableshorts7330 9 ай бұрын
बहुत ही शानदार वीडियो है आपके मेने। पहली बार किसी प्रोग्रामिंग लैंग्वेज को इतनी गहराई से पढ़ी है । बहुत बहुत धन्यवाद आपका ❤
@DurgeshYadav-hp8my
@DurgeshYadav-hp8my 9 ай бұрын
Waiting for this series😅
@tusharbharane1484
@tusharbharane1484 Ай бұрын
But what is happening when the function is suspended? And how it is coming back to call stack and how it is again start its execution from where it left?
@shalin1
@shalin1 12 күн бұрын
When the function is suspended, it goes to the microtask queue for promise settlement, when it's done, it gets back to the main thread and all this movements of that async function is done by the event loop.
@avigupta3691
@avigupta3691 4 күн бұрын
​@@shalin1 hey I wanted to know that, if the function is grtting suspended on interacting with the 1st await promise, and the further code has stopped working there, how the 2nd promise also running parallel to the 1st one, when and how we started the time ofo the 2nd promise
@avadhutkelaskar1982
@avadhutkelaskar1982 9 ай бұрын
you are such a marvelous teacher to me. I am so much new to js as well as web development but because of your videos i am learning js so much easily. Thank you so much sir❤
@neerajagrawal709
@neerajagrawal709 9 ай бұрын
Thank you Akshay for sharing the knowledge, hats off for explaining topics with such simplicity ❤
@Srinath666
@Srinath666 9 ай бұрын
brother..!Please don't stop this series which is very useful and we are not able to find any such content.Thanks a lot
@ShubhamYadav-qj4gs
@ShubhamYadav-qj4gs 9 ай бұрын
I was impressed by your teaching style at that kind of level that I am commenting before watching even a second of this video 👏🥇
@satviksharma7051
@satviksharma7051 5 ай бұрын
Wow, this tutorial is absolutely fantastic! The step-by-step explanation and clear instructions made it so easy for me to follow along. Thank you for putting so much effort into creating such high-quality content. You've definitely earned yourself a new subscriber! 👏👍
@shubhampatil132
@shubhampatil132 8 ай бұрын
Thanks for the efforts! the way you explain the call stack is very helpful!
@computingpulse9144
@computingpulse9144 7 ай бұрын
Awesome...you are great in teaching the concepts and diving deep to make us understand all the difficult topics.
@himanshubisht2589
@himanshubisht2589 7 ай бұрын
This video is on a different level i have never thought that someone will teach javascript in such a good manner best explanation on async and await i have come across thanks guruji 😊
@aniksaha8108
@aniksaha8108 5 ай бұрын
Thank you so much for explaining us this beautiful async await video, i was confused before but now i have a very good understanding of promises and async/await, thank you so much ♥ you are the best JS teacher and this is the best JS playlist! ♥
@cenacr007
@cenacr007 9 ай бұрын
My mood lights up when I see your upload.
@pratiksnaik5
@pratiksnaik5 3 ай бұрын
This is the best video of Async Await ever! PERIOD!
@mjftw9473
@mjftw9473 8 ай бұрын
After a long gap you came back with a banger ❤❤❤
@darshilshah1833
@darshilshah1833 8 ай бұрын
Top-level video. Absolutely loved it! Akshay, you rock!!
@gowthamkumar7852
@gowthamkumar7852 8 ай бұрын
Thank You for your wonderful explanation , really your teaching is helping me learning a lot in JS. i think we are fortunate enough to have a good teachers like you who is really more interested teaching the concepts in an interesting way
@adnanibrahim9533
@adnanibrahim9533 5 ай бұрын
Koi itna aachy say kaisay pada skta hai ! You're a gem bro ! Love you ❤❤
@alokranjan476
@alokranjan476 9 ай бұрын
Thanks for all your effort. You have cleared all my doubts in more than one ways. Thanks again.
@balajiravi9259
@balajiravi9259 9 ай бұрын
What a Video bhai full of power with no sleeping mode while watching full energy on. After watching you video i'm JavaScript Addicter
@jaymaheshwari1075
@jaymaheshwari1075 2 ай бұрын
Bro didn't even hesitate to make this complex topic look so simple, kudos to you Sir.
@beastexperiments6155
@beastexperiments6155 5 ай бұрын
One of the most awaited video. This Playlist helped me alot. Amazing.
@Codifywebee
@Codifywebee 2 ай бұрын
You're just crazy. I have never seen anyone who teaches like you. I just loved it.
@pearlsharma8144
@pearlsharma8144 2 ай бұрын
you are a great teacher, your passion for sharing the knowledge is highly appreciable. Gratitude
@user-ez3eh2ml5f
@user-ez3eh2ml5f Ай бұрын
Eres un capo, me ayudaste muchísimo estuve buscando bastante una explicación a fondo sobre el aync await y tu video lo hace perfectamente, enfatizas en lo necesario y todo, te deseo lo mejor y espero sigas subiendo videos, saludos desde Latinoamerica.
@user-jh8sz2jm4q
@user-jh8sz2jm4q 8 ай бұрын
struggling alot to understand these topics.....your video makes it very easy to remember !! A big thanks to you !!
@suhailafnan6264
@suhailafnan6264 5 ай бұрын
bro i'm very thankfull to you for teaching as the concepts and also teaching that how it works in side the engine thats the best thing i loved you the most .and one more thing is that PLEASE NEVER STOP TEACHING US
@anirbanghosh3292
@anirbanghosh3292 8 ай бұрын
I am not even a js dev, but i needed it to get the air of how the web works in general. Primarily i am a java dev with competitive coding as hobby. But i swear without ur concise, precise, and quality videos have helped me get over my js fear, understand web with a newer vision and also bypass the pesky questions interviewers ask to test js even tho i didnt have it in resume😁😁
@phoenix1814
@phoenix1814 9 ай бұрын
best video on async and await just absolutely in loved with your knowledge
Top 9 JavaScript topics to know before learning React JS in 2024
10:26
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 39 МЛН
Promises | Ep 02  Season 02 - Namaste JavaScript
39:06
Akshay Saini
Рет қаралды 434 М.
Callback Hell | Ep  01 Season 02 - Namaste JavaScript
15:28
Akshay Saini
Рет қаралды 347 М.
Async Javascript fundamentals | chai aur #javascript
19:12
Chai aur Code
Рет қаралды 135 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 150 М.