thats what everybody says in every tutorial in youtube lol I trust you and im sure this is an epic and amazing explanation but its funny to see the same comment in every tutorial.
@@latinstuff1 lol you're not wrong about that! Ppl tend to absorb information differently, so it makes sense it would be a common comment on tricky subjects.
Thanks, I just watched a bunch of different videos on async/await because i have been using it in a few applications and I didnt really understand exactly how they work. It really helped me clean up my code a ton, remove some very ugly nester then/catch blocks, and make the code behave in unexpected ways sometimes. Now it all makes sense. My problem is that i was using async/await without understanding promises. I had never used a promise before and i attribute that to my coming along at a point where they are less commonly used directly.
I watch your video everytime i'm about to start a section in Codecademy. You give the simple explaination of the concept while the Codecaemy provide the practice. Such a great combo! Thank you!
Done thanks Promises are just JavaScript way of chaining callbacks (do this, then when its done do this etc). Instead of nested callbacks, which leads to callback hell, promises allow you to do .then(…).then(…) but each lambda in these .then should return a Promise object to be able to call .then on it. Async await is doing the same thing but in cleaner way. Await is NOT blocking, it lets js execute other code then when the code we are awaiting finishes js can come back and continue (how? With the event loop) The awaits are wrapped in an async function (function with async keyword before it). You await a promise. Await someFunctionThatReturnsAPromise()Can catch errors with try catch when promise you are waiting on is rejected
this is something I have struggled with for ages and just followed what I was told on tutorials without knowing what I was properly doing. I had a vain hope that one day it will fall into place. This video is what I needed.
Nearly everyone here on TH-cam who tries to explain Javascript promises, async, etc. blabbers on and on, boring the viewer, but you don't waste the viewer's time. You come right to the point and clearly and understandably explain these things without any superfluous nonsense. Bravo! Keep it up.
I've been watching all your videos. Nobody else on youtube has coding videos so succinct and efficient to watch. Thank you for valuing the time of your viewers!
I was avoiding async/await for so long because I thought it was complicated and I was doing fine without it. Finally looked into it and wow it's simple and clean. Thanks for the great tutorial!
You take a concept, boil it down into its essence and explain it using the most basic and easy to understand example. Incredible videos. By far the best channel on YT for this.
i know right? the other ones end up confusing me with all sorts of seemingly unrelated and complex additions, whereas his vids just say what need to be said and are understandable without and unnecessary and difficult additions
I don't comment usually but this video is on another level. Spent hell lot of time understanding promises and async-await and after watching this video I am feeling like how foolish I was not to understand this simple concept 😂
I dont usually write comments in youtube but.. damn.. By chaining your videos one after another explaining different concepts I now understand all this javascript spaghetti. Also your videos are very high quality and you are a very good explainer.
Came here with a knot in my brain for an additional perspective after finishing Brad Traversy's JS course on Udemy. All the gears have finally clicked into place. Subbed!
Hello Kyle, i am from a different country and my mother's tongue is not english. however, i can understand you because of your speech manner and clear pronunciation . thank you so much!
I really like the teaching way that transforming from the promise to the async-await format, which is really intuitive and makes a connection between different knowledge. Thanks so much.
Been using this for weeks somewhat correctly, without understanding exactly why it works, and you just cleared that fog in seven minutes. Have a sub, sir.
The best video of async await i could find online. Pretty much on the point,extremely easy to understand. I hope you upload more videos. Thank you so much.
Thanks! I leaned heavily on your videos while I was in a bootcamp and now have a good paying job! Thank you so much for your help -- I've been meaning to buy you a beer for some time
I think it is the most simplest async-await tutorial on youtube and definitely the best one I've seen overall. Thank you a lot. May Allah bless you and your family.
I have watched few videos on async/await over TH-cam, but couldn't able to understand this concept. Then I have realized that I should make my foundation strong first on promise. Now I can clearly see how it's working under the hood. Anyway, nice explanation Kyle
i am shifting from python django to node js ...since i am am searching the channel...thanks to your channel sir..i am learning from basic.but you speak fast
I am learning JS and React and always works for me seeing your videos after some classes. Thank you. But, if I may say, would be even better if make the code you wrote available throughout some link. That way would be even easier to make some tests based on you examples. Thank you, again.
Really enjoyed the video. I already knew how to use async await in javascript, but your video explains it really well and it's much more simpler. Keep it up man ;)
With your last example, a try-catch absolutely works; however, you can also just add a ".catch()" to where you call the "doWork()" function. This is because an "async" function wraps any return within a resolved or rejected Promise object.
32 people still loving PHP .. jaja Thanks so much for your videos, I really love them, you are one of my best favorite channels on youtube. I usually never comment, but this time I had to do it. greetings from Costa Rica
i don't know who are you and where is you , all i do is - find you and give a nobel for this video , man you just great , simple explanation , easy to understand very good , thanks .
Nicely explained..but a little mishap.. The code written in the dowork() function is doing some aysncronous work but code execution is still syncronous within that function. Hope it helps.🙂
@@SaifUlIslam-lw3dm It surely will... But the point i m trying to make here is.. suppose u have 3 or more async work going around within that function...and the very first async is taking longer time to resolve e.g sending emails untill then execution context is holding up there...
I showed this video to my crush and she's my wife now. I'm grateful, thanks for sharing this video with us.
I didn't realize I had so much power within my videos. I need to show this to my girlfriend :P.
@@WebDevSimplified aaaaand, now she's pregnant (o_O)
@@WebDevSimplified Perfect . :))
@@pearlsswine it is black and has ginger curly hair, what does this mean? D:
Did the same, now I'm single
This is definitely one of the best, simplest explanations I've seen of async/await. Thank you!
Thanks! I am really glad you enjoyed it.
Sure !
@@vinubox It really is. It's short but effective.
thats what everybody says in every tutorial in youtube lol I trust you and im sure this is an epic and amazing explanation but its funny to see the same comment in every tutorial.
@@latinstuff1 lol you're not wrong about that! Ppl tend to absorb information differently, so it makes sense it would be a common comment on tricky subjects.
Man, I cannot tell how good you explain. The best part is that you explain the WHY of the things that happen. Really, amazing work
this is what i was looking for simple elegant explanation.
Dude.. async/await and promises had scared me for years.. uve made me understand them in 17 mins.. much much appreciated...
Thanks, I just watched a bunch of different videos on async/await because i have been using it in a few applications and I didnt really understand exactly how they work. It really helped me clean up my code a ton, remove some very ugly nester then/catch blocks, and make the code behave in unexpected ways sometimes. Now it all makes sense. My problem is that i was using async/await without understanding promises. I had never used a promise before and i attribute that to my coming along at a point where they are less commonly used directly.
I like how you go straight to the point. Thanks
This guy about to single-handedly help me pass my web programming class. Super easy to understand
From callbacks to promises and then to async and await. Beginners like me often confused with this three. Thanks for making this three more clear. 👏
web dev Simplified and dev Ed this 2 guys literally taught me everything
I watch your video everytime i'm about to start a section in Codecademy. You give the simple explaination of the concept while the Codecaemy provide the practice. Such a great combo! Thank you!
How long after starting to learn did it take you to get your first job?
@@brandonbh04 1 year
Done thanks
Promises are just JavaScript way of chaining callbacks (do this, then when its done do this etc). Instead of nested callbacks, which leads to callback hell, promises allow you to do .then(…).then(…) but each lambda in these .then should return a Promise object to be able to call .then on it.
Async await is doing the same thing but in cleaner way. Await is NOT blocking, it lets js execute other code then when the code we are awaiting finishes js can come back and continue (how? With the event loop) The awaits are wrapped in an async function (function with async keyword before it).
You await a promise. Await someFunctionThatReturnsAPromise()Can catch errors with try catch when promise you are waiting on is rejected
People like you are why I love the JavaScript community. I still hate the language, but I love this community. Thanks for posting this!
hahahaha this comment represents me a lot!
u are one of the few people who actually know the stuff right, never bs sm1 and are good at explaining
Thanks Sir, I appreciate the way you've made it look it simple. Now my fears are gone.. I will use Promise and Async Await in my projects.
I'm really glad my video was able to help!
I'm in a web dev bootcamp currently and you're videos are amazingly helpful, thanks so much.
Definitely the best video on the youtube regarding async await. One request, please never stop making these type of videos.
this is something I have struggled with for ages and just followed what I was told on tutorials without knowing what I was properly doing. I had a vain hope that one day it will fall into place. This video is what I needed.
One of the best explanation for async await on TH-cam.
Nearly everyone here on TH-cam who tries to explain Javascript promises, async, etc. blabbers on and on, boring the viewer, but you don't waste the viewer's time. You come right to the point and clearly and understandably explain these things without any superfluous nonsense. Bravo! Keep it up.
I've been watching all your videos. Nobody else on youtube has coding videos so succinct and efficient to watch. Thank you for valuing the time of your viewers!
This video ranks among the best, on async and await. I recommend it to anyone wanting to learn the concept of async and await.
Talks a mile a minute but a good teacher no less
This channel is one of the best channels on youtube for web dev
I was avoiding async/await for so long because I thought it was complicated and I was doing fine without it. Finally looked into it and wow it's simple and clean. Thanks for the great tutorial!
You take a concept, boil it down into its essence and explain it using the most basic and easy to understand example. Incredible videos. By far the best channel on YT for this.
i know right? the other ones end up confusing me with all sorts of seemingly unrelated and complex additions, whereas his vids just say what need to be said and are understandable without and unnecessary and difficult additions
I don't comment usually but this video is on another level. Spent hell lot of time understanding promises and async-await and after watching this video I am feeling like how foolish I was not to understand this simple concept 😂
Excellent job! A good example to explain all we need to know about it in a few minutes. No gimmicks, no blabla. Please keep going!
Even thou you speak fast, somehow I can completely grasp the topic. The name of the channel is right on point. Keep it up : )
I'm really glad you were able to understand the topic.
Fireship and wds channels are meant to be watched on 0.75x playback speed.
Dude you explained Asnyc/Await and Promises both in such an easy and simple way.
Finally, the only explaination that i understood after watching at least 10 videos on async.
man I love how you explain things so clearly
you make one of the best videos on any topic
Hello Shweta, do you frequently learn from these videos? Would you be interested in exploring an opportunity in web development?
I just started to watch your videos, you explain very simply in a short amount of time.
dude, you explain like 30min worth of content in less than 10min! Great!
I dont usually write comments in youtube but.. damn..
By chaining your videos one after another explaining different concepts I now understand all this javascript spaghetti. Also your videos are very high quality and you are a very good explainer.
this is mind boggling. i am overwhelmed by how much easier this is.
thanks man!!
this guy is gem.....there are other sleeping guys on TH-cam who makes me sleepy when they explain something...but thissss guyyyyy is gemmmmm
This is the best async await video on youtube
Came here with a knot in my brain for an additional perspective after finishing Brad Traversy's JS course on Udemy.
All the gears have finally clicked into place.
Subbed!
Hello Kyle, i am from a different country and my mother's tongue is not english. however, i can understand you because of your speech manner and clear pronunciation . thank you so much!
I really like the teaching way that transforming from the promise to the async-await format, which is really intuitive and makes a connection between different knowledge. Thanks so much.
You're welcome! I'm really glad the video was easy to follow for you.
Been using this for weeks somewhat correctly, without understanding exactly why it works, and you just cleared that fog in seven minutes. Have a sub, sir.
Thank you so much. I'm really glad I could help.
Best explanation of async/await I have come across
Went through 2-3 different videos but the way you explained async await (and promises in a diff video ) is way too good. Thanks!
Your channel is one of the most useful js channels I have found. Thanks.
Finally a clear, concise, and well produced example. Thank you!
You're welcome
I've watched videos on this concept and read several articles on it, none explains it as simply as this video. Thank you, and keep up the good work!
One of the greatest video I've watched in 2023
I've watched a few of your videos as I've come across them over the last few weeks. You consistently do a very good job of explaining things. Thanks!
Thank you, by far the best and easiest to understand explanation i've found. I also watched your video on promises, very well explained!
Perfection! Simple, easy and straight to the point! My God bless you sir!
I'm glad I could help!
You are a legend buddy :) Thank you. no intro and all like other TH-camrs.. directly to the point
This is the best explanation of this topic period.
one of the best videos on async functions
The best video of async await i could find online. Pretty much on the point,extremely easy to understand. I hope you upload more videos. Thank you so much.
I'm really glad you enjoyed it. I make two videos a week so I always have new videos being uploaded.
Ive been struggling to grasp async and await for a couple of days. This video made it so easy, thank you!
I didn't get " your => syntax video ("yet") and have to go through it a few more times but this one was crisp and clear. - thank you.
Checkout my video on arrow functions. That will explain it for you.
Thanks! I leaned heavily on your videos while I was in a bootcamp and now have a good paying job! Thank you so much for your help -- I've been meaning to buy you a beer for some time
Thanks! I am glad to hear you landed a good job.
Thank you Kyle, for always making me feel a lot less dumb.
I think it is the most simplest async-await tutorial on youtube and definitely the best one I've seen overall.
Thank you a lot. May Allah bless you and your family.
This is by far the best explanation/example about async/await.
Thank you so much. 👍😉
Your explanations on promises and async await were very well done. This helped a ton! Thank you!
You made my preparation for Salesforce Javascript Developer I exam much easier.Thank you so much..😍😍😍
I have watched few videos on async/await over TH-cam, but couldn't able to understand this concept. Then I have realized that I should make my foundation strong first on promise. Now I can clearly see how it's working under the hood. Anyway, nice explanation Kyle
Outstanding. No idea why this channel doesn't have 10x as many subscribers.
The most clear explanation of Async Await concept. Thanks so much!
i am shifting from python django to node js ...since i am am searching the channel...thanks to your channel sir..i am learning from basic.but you speak fast
Thanks for this video. i think this is the most simplest and easily understandable video all over yt on async/await
I am learning JS and React and always works for me seeing your videos after some classes. Thank you.
But, if I may say, would be even better if make the code you wrote available throughout some link. That way would be even easier to make some tests based on you examples.
Thank you, again.
Best explanation I've found and that too in only 7 minutes! You are amazing!
I was so confused about promises/asynchronous codes. This SAVED me, thank you!
You are welcome!
Didn't help me figure out my user interaction problems, but definitely a bookmark reference for async functions. Love your videos
simple and straight to the point
Thanks for explaining it in a very simple way. This is one of the best explanations of Async / Await.
Great video, Simple and easy to understand tutorial. Thanks man.
You're welcome
Concise, to the point! Well done.
Beautifully explained, short and brief.
Thank you so much for letting me be clear about how to use the async and await, very straightforward and clear!!!
I have to keep coming back to this video to refresh my memory on this stuff.
Because of this, I understand completely the mystery behind Async and Await XD
Wow I just couldn't grasp this till you explained it. Thanks a lot
You are very welcome! I am glad I could help.
Well paced and not convoluted. Thanks!
recently I use Axios and encountered tons of async programming itching, thank you for explaining!
The best async await tutorial!
I'm actually not the comment something guy, but you really explained it under 7 minutes and i got it :-))
Nice! I'm glad I could help!
Love this channel, the best resource for learning React + JS for me!
Just the right measure of knowledge and example code to pass on the idea, thank you it's a very good tutorial.
Really enjoyed the video. I already knew how to use async await in javascript, but your video explains it really well and it's much more simpler. Keep it up man ;)
Thanks! I'm really glad you enjoyed the video. There are plenty more like this coming.
i really need to learn more
Carl, You are doing a great job! The metafors you use to explan are genius. WDS is my goto chanel when I refresh or need new information. All Best
With your last example, a try-catch absolutely works; however, you can also just add a ".catch()" to where you call the "doWork()" function. This is because an "async" function wraps any return within a resolved or rejected Promise object.
That is correct. I generally prefer the try/catch syntax since I find it cleaner, but it is personal preference for sure.
32 people still loving PHP .. jaja
Thanks so much for your videos, I really love them, you are one of my best favorite channels on youtube. I usually never comment, but this time I had to do it. greetings from Costa Rica
simplest explanation of the complicated logic!! thanks a ton!!
Thanks man it really helped me to understand promises and async await which I was trying to understand for the long time. Keep up the good work👍
Thank you for clear instruction +1 for adding try catch in async function. Saved me from a day of headache. Cheers
I wish I'd been able to see the entire script by the time you got to the end, but I appreciate this nonetheless
best video on async+await and promise+then short and crisp thanks from india
i don't know who are you and where is you , all i do is - find you and give a nobel for this video , man you just great , simple explanation , easy to understand very good , thanks .
Thank you! I'm glad you enjoy the videos.
Nicely explained..but a little mishap..
The code written in the dowork() function is doing some aysncronous work but code execution is still syncronous within that function. Hope it helps.🙂
but wont aysncronous work will start after the call .... so its nothing wrong i guess
@@SaifUlIslam-lw3dm
It surely will...
But the point i m trying to make here is.. suppose u have 3 or more async work going around within that function...and the very first async is taking longer time to resolve e.g sending emails untill then execution context is holding up there...
@@thefireagen Yes you are right .... i also noticed that in my code...
Helped a bunch, thanks mate. I love the short little to the point videos.
Kinda sick of the tutorial fluff on other videos.