Thank you so much for this [very well structured] explanation for Promise and Async operations. This is a video where I found myself pushed to pause the video and hit like button in the middle of the lecture. Appreciate your work. 👍
I was struggling to grasp the concepts on this topic of Asynchronous javascript, after going thru multiple tutorials finally this video explained it all. The examples, scenarios helped visualize the concept and relate to the javascript quivalent. Most importantly the pacing of the narration is perfect so the learners can take time to absorb and grasp the concept.
before coming to this awesme content i'd read more than articles for event loop but couldn't understand them completely but after watching this now i am very confident in the event loop concept & can further proceed for more to the doc. Thank you sir, will recommend this to all my friends :)
Amazing video as usual, mate! I'd just like to point out a potentially misleading piece of information regarding promises. When we use the 'await' keyword, the execution doesn't actually stop; rather, 'await' is just syntactical sugar. What it does is wrap the following code in a nested promise, which will be called once the async function being 'awaited' completes. That's why the main thread keeps doing its thing. Cheers
It’s also better to say that first everything in the microTask queue will be executed, then 1 task from the MacroTask, so you can spawn microtasks and block the eventLoop...
At 1:25:22, the console.log('second') is not already in the call stack, still callback functions are not executed. First the log statement got added to call stack, executed, popped then callback functions were executed. So, does the event loop wait until all statements in the program have executed?🤔 Please help here!
Promise allSettled does not return exactly values, so you can confuse beginners, since different static methods are created for different situations, respectively, and the returned value is different, there must be objects - the results of promises from fields that have at least a status and value...
Bow down guruji. The way you explained Promises, Event Loop is Top Notch. None matches you. Your are Student Centeric. With these Why ? What ? How ? Questions you literally made me fall in Love with JS & React. Thanks 💕💕💕🧠
Instead of running while 1 billion times, it is better to check the date value in it so as not to worry about the number of passes, but actually block the thread for a certain time..
You are an absolute champ sir...Love the way u teach and the clarity of the course....your channel is my one stop channel for everything frontend😇🔥THANKYOU SIR(seriously thankyou sir)
sir your content is too good . the way you teaches us is awesome. PPT jo hai bhaiya wo sabse best hai.. agar ppt upload kahi kar dete toh bohot badhiya ho jaata bhaiya.. THank you
everything about the ui and ux goes to gnome which is a desktop envoirment and is available on all linux distros 100% of things tou say are not unique or limited to manjaro its on all distros
Great video! However, I didn't quite get the 'concurrentStart()' function. Since we await the 'hello' promise it will take us 2 seconds, then we will await 'world' which takes 1 second. So why it will log in 2 seconds and not 3s? I appreciate the explanation!
This is very informative, thanks for creating this. One question - javascript is single threaded, how is parallelism possible with async await -promise.all()?
Checkout my other crash courses!
HTML Crash Course - ruclips.net/video/N8YMl4Ezp4g/видео.html
CSS Crash Course - ruclips.net/video/Icf5D3fEKbM/видео.html
CSS Flexbox Crash Course- ruclips.net/video/z62f2k38s64/видео.html
CSS Grid Crash Course - ruclips.net/video/p4Ith5qRM1g/видео.html
JavaScript Fundamentals Crash Course - ruclips.net/video/XIOLqoPHCJ4/видео.html
Advanced JavaScript Crash Course - ruclips.net/video/R9I85RhI7Cg/видео.html
Make a ReactNative course too, plz! I mean, in a series!
dasdasd
we
@@sonalpaghdal9727 ee
What a distinguished gentleman.
This is a must watch video for everyone who are thinking of brushing up their JS knowledge for interviews.
Man you are crazy, I almost search every topic first in your time line, your explaination kicks all my doubts out of the universe...
This is the best lecture on this topic..
Tutor is clearly giving MyCodeSchool teacher's vibe..
And I think this is the biggest compliment !!
This is the best explanation ever! You make these concepts look so simple
I don't even know what to say,very intuitive and clear. Thanks sir
I cannot thank you enough that how perfectly you explain such a complex concepts. 👍
Dinner scenario example for promises 22:40 is lit💥💥💥💥💥💥💥💥💥
Yes it was bawaal
A great tutor. He really understands AsyncHRonous and explains it so well. Thanks!
😂
Would love to see Map-WeekMap, a Generator function, proxy, etc. in future videos.
Sure!
Generator is no longer relevant after async await
@@siyaram2855 generators used in Redux saga
@@amarg26 who uses it?
Thank you so much for this [very well structured] explanation for Promise and Async operations. This is a video where I found myself pushed to pause the video and hit like button in the middle of the lecture. Appreciate your work. 👍
Promises are a part of JS language, this is written at ECMAScript...
I have never written JavaScipt but still understand the concepts you are explaining. This just shows how nicely things are explained. Good Job!
But you must be a programmer though
Brilliant video! All these concepts are so well explained and are so easy to understand with these presentations.
I was struggling to grasp the concepts on this topic of Asynchronous javascript, after going thru multiple tutorials finally this video explained it all. The examples, scenarios helped visualize the concept and relate to the javascript quivalent. Most importantly the pacing of the narration is perfect so the learners can take time to absorb and grasp the concept.
before coming to this awesme content i'd read more than articles for event loop but couldn't understand them completely but after watching this now i am very confident in the event loop concept & can further proceed for more to the doc. Thank you sir, will recommend this to all my friends :)
so much clear explanation on event loop with great visualization, awesome content
I can't believe this Viswas, The way you transition from one topic to another is like watching a TV Series for me. Love you brother...
Great video.. learnt a lot and you clearly explained a lot of topics in an easy to understand way. Keep going!
Amazing video as usual, mate! I'd just like to point out a potentially misleading piece of information regarding promises. When we use the 'await' keyword, the execution doesn't actually stop; rather, 'await' is just syntactical sugar. What it does is wrap the following code in a nested promise, which will be called once the async function being 'awaited' completes. That's why the main thread keeps doing its thing. Cheers
Amazing video, the method and examples of how you've covered asynchronous topics is excellent. Impressive how you explained recursive intervals.
This is the best explanation I have ever seen. It has made such a complicated subject so much understandable for me in every detail.
The best Async JS course ever!!!
Wow. Now he chose dark background color for his presentation. He really listen to audience. Many thanks Vishwas
28:47 misspelling of the word "compared": on the slide it is written as "[...] comapred to callbacks"
Thank you for sharing! It has helped me to understand the async javascript much better behind the scene!
It’s also better to say that first everything in the microTask queue will be executed, then 1 task from the MacroTask, so you can spawn microtasks and block the eventLoop...
Great work on your explanations. It always seemed so complicated before. Bless you Sir!
What an amazing explanation about Event loop!!
Confusing concepts explained very easily... I can't believe I would ever understand event loop... Thank you @Codevolution.
Best lecture on Async JS
This is a great course with clear explanation.
Thank you for sharing!
At 1:25:22, the console.log('second') is not already in the call stack, still callback functions are not executed. First the log statement got added to call stack, executed, popped then callback functions were executed.
So, does the event loop wait until all statements in the program have executed?🤔 Please help here!
Bro your knowledge is awesome..thanks for tutorial congrats to all those who found this channel............
All your videos should go viral
Greatest video i have watched on asynchronous JS so far, it just cleared all my doubts
bro this video , must be watched i was lazy to study async but due to his well organised and clear explanation , am now into async
The best ever event loop explaination, so simle but so important
a very, very in-depth explenation of Async JS. It's a must see for every serious developer!
i really liked the explanation of event loop
Best video ever on asynchronous. Thanks 4 meticulously explaining at every point. 👌👌👍👍💯
If you are or want to be a js developer and you work with a lot of restful apis and specifically on mern stack then this course is for you.
This is one of the best video, complete understanding of JS and Async. 🥰
We need a crash course on React interview question Vishwa, Please do consider this as a request.
On react interview please
Yes please
We need crash course on react (with hooks) and on node.js as well
Please RUclips make this channel super viral
THANK YOU! Finally someone well explained event loop and I got it
I wish you had a crash course on NodeJS or Fastify. Also some full-stack projects with node from scratch
perfect explanation
Promise allSettled does not return exactly values, so you can confuse beginners, since different static methods are created for different situations, respectively, and the returned value is different, there must be objects - the results of promises from fields that have at least a status and value...
Your voice is Magical 💚
Bow down guruji. The way you explained Promises, Event Loop is Top Notch. None matches you.
Your are Student Centeric.
With these Why ? What ? How ? Questions you literally made me fall in Love with JS & React.
Thanks 💕💕💕🧠
Awesome video man, I just want to say that your work is really appreciated
By far, this video is the most clear explenation on youtube! //(for me:)
just wow man the explanation in event loop is sick!
Explain about destructuring that really helps us, and thank you for your all videos
this is great . can you please do a crash course on object oriented javascript?
Awaiting for this topic soo long .....👌👌
My favorite Web Dev learning channel. Big thank you. 💙💚❤️
This guy can read my mind
Thanks vishwash!!❤
What an explanation, Thanks a lot, It is very helpful and now I am very clear the concepts of async JS. Once again thank you so much
Instead of running while 1 billion times, it is better to check the date value in it so as not to worry about the number of passes, but actually block the thread for a certain time..
You are an absolute champ sir...Love the way u teach and the clarity of the course....your channel is my one stop channel for everything frontend😇🔥THANKYOU SIR(seriously thankyou sir)
Thanks a lot. I'm really happy i found your channel.
Thank you vishwas, was waiting for this crash course☺
this is a great video Vishwas, keep going on this way!
Awesome explanation!
Thank you very much!! Now I'm understand micro tasks!!!
Simply majestic ! Thank you
Your last example was fantastic
Loving your long videos. 💯
49:52 thats how promise chaining(then or catch) vs async await different looks like
🔥🔥🔥 THIS IS PURE GOLD!
Thank you for the video course
sir your content is too good . the way you teaches us is awesome. PPT jo hai bhaiya wo sabse best hai.. agar ppt upload kahi kar dete toh bohot badhiya ho jaata bhaiya.. THank you
Promises part is THE BEST. Thank you Sir. I have an interview on 1st July for React JS developer entry level..
Interview selected ?
Helped me alot. Thanks alot
Really cool explanation, nice work!
Clearly explained. Thank you for the video. (also subscribed) :)
tnx, real good job mate !
Super ... Sir...And please make a session on event loop architecture
Very clear and concise. Thank you!
nice explaination, short and straight to the point. 👌🙏
The best explanation ever!!!💯
Why is the microtask queue prioritized over the callback queue?
Great Explanation of all the topics !!!
everything about the ui and ux goes to gnome which is a desktop envoirment and is available on all linux distros 100% of things tou say are not unique or limited to manjaro its on all distros
your tutorial is a life saver. Thank you!!!
Small suggestion the code size is too small
Great video! However, I didn't quite get the 'concurrentStart()' function. Since we await the 'hello' promise it will take us 2 seconds, then we will await 'world' which takes 1 second. So why it will log in 2 seconds and not 3s? I appreciate the explanation!
How does the task move from memory to micro task queue and who is maintaining the order as there could be multiple promises getting executed
This is a brilliant crash course I must say! 👏
Make a ReactNative course too, plz! I mean, in a series!
Thank you so much Sir ❤ You are awesome 🎉
thank you, that's very helpful
Make a video for redux toolkit pls
can you explain how following code will be executed `console.log("1")
setTimeout(console.log("2"),0)
console.log("3")`
This is gold! :D
This is very informative, thanks for creating this. One question - javascript is single threaded, how is parallelism possible with async await -promise.all()?
Please may extensive details of every concept in JavaScript like this one of Asynchronous JavaScript