"Not every single function that takes an argument is asynchronous, but in general, most function that takes function argument are going to be asynchronous" Thank you, this line clears things for me. Much appreciated
seems that, if you get things confused, you can replace synchronous with the word "sequential"execution ... and asynchronous with "parallel" execution. Which type blocks will also become clear as well.
I love that you are straight to the point with a clear and short explanation. It makes things a lot easier. Appreciated! 🤩
Describing Javascript execution as multi-threaded (as at 1:15) is a bad idea and teaches the wrong mental model. Look up concepts like run to completion, event loop, call stack to understand what's going on better. For example, in the setTimeout call, even if you put the delay to 0 instead of 100 it will still print 10. If you understand the concepts I mentioned you will know why.
Wow, as someone who feels more intermediate than total beginner, I felt that you really validated my learning curve. Thank you!
100% crystal clear explanation. I was looking at videos that are lengthy, I could not get my head around them. Really liked the way you explained async with then example. Thanks tons.
Great video! ""Not every single function that takes an argument is asynchronous, but in general, most function that takes function argument are going to be asynchronous"" as crisp as it can get.
every single video from your channel clears so many concepts in my head, i cant even start to tell you..thank you so much from the core of my heart <3
I don't think fetch returns quicker than set time out. Fetch returns first because it gets put in to the micro-task queue and setTimeout gets put in to the callback queue. Anything in the micro-task queue gets preference and will be executed before anything in the callback queue even if setTimeout is faster than fetch.
I love the idea of me one day being an expert programmer. But this went over my head. I didn't understand. But I enjoyed watching it. I'm new to programming. I'm sure it did something to my subconscious mind that will help me in becoming a programmer.
you are the best youtube web dev creator. Love the show. My tip is that instead of having to type console.log() each time. Just type log and vscode will auto complete the code for you. THanks for the video
Thanks alot. I have learned promises callbacks and async await but still I was confused between async and sync terms. Your example completely cleared all concepts async JS.
Note that JS async is single threaded on both browser and NodeJS.
Very straightforward I wonder why they're not just teaching like that in schools
I am a big big fan of your short & crisp concept clearing videos 🧡🧡🧡
Dude, you just gave the best start to learn more about Async Programming. btw, whats your VS code theme, font, setup...
I’ve noticed a guitar in the background in your videos. Did you make the intro riff :P
Always a great resource for me, short and full of relevant info. Plus I like the clicky keyboard sounds. Awesome video, yet again! Thanks, Kyle!
the best explaination of the async feature in js ever
@SiRexable