Event loop | Will javascript wait?
HTML-код
- Опубликовано: 3 сен 2020
- Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit... Наука
Full course is FREE and will be available here
courses.learncodeonline.in/learn/Complete-Javascript-course
Steps for event loop:-
1) Javascript can't handle these multithreading because it is single threaded language means the code will execute line by line.
2)But developer create a environment that helps the js to keep track of these callbacks lets see how?
3)There are four things to keep in mind for this asynchronous tast which are web Api, event loop, message queue and global excution
4) when settimeout occurs it takes one callback function that goes into web api then after taking 3 sec it goes into message queue then event loop notice that ohh there is one tast in message queue so it then push it to global excution to excute.
5) These is how js works with async tasks using web api's
May be these can be helpful
Peace out😎
Perfect.. thanks!!
this is perfect
HITEST OMG YOU ARE THE BEST! EASIEST EXPLANATION LEADING TO ASYNCHRONOUS JS!
THANKS MAN!
Happy Teachers day sir.
Happy Teacher's day Hitesh Sir !!. Thanks for the amazing JavaScript Course.
Happy Teachers day Hitesh, you are one of my favorite teachers , thank you for all your teachings
Thank you sir for explaining this tricky concept in very easy way.
One of the best teacher. loved your teaching style and beautiful explanation. Thanks Hitesh.
Happy teachers day sir 😍I have learnt so many stuffs from you .Though you are overwhelmed with so many technologies .you are .such a man of simplicity and friendly person ..Keep going sir and keep rocking🔥🔥🔥... I Like u so much sir.once again happy teachers day sir
Happy teachers day sir, you are one of the best teacher I've ever had..thank you for the every thing
Happy teacher's day hitesh sir you are the best CS teacher in the world
Happy teachers day Hitesh Sir!!
Happy teachers day sir 💙💜💙. I'm biggest fan of your javascript course. Thank you 💙💙
Sir you teach coding in very easy manner 😎 and your speaking style is awesome.
Thank you Guru g
Nice one Sir. Thanks!
and happy teachers day hitesh sir
Happy teachers day sir , you are the best teacher ever meet 😊😊😊
Fantastic lesson ❤️❤️
Great video 👍.
Nice explanation ❤️
#10minutesJS day 54! Happy teacher's day Sir !
Happy Teachers day sir!
thanks!!
Happy Teachers Day Sir
Happy teachers' day sir♥
Happy teachers day sir, Thank you for everything😊😊
Happy Teacher's Day Sir 🙏
Happy Teachers day sir
Happy teachers day and thank you
Happy teacher day sir..........
Happy happy happy happy teachers day sir
Happy Teachers Day Guruji🙏
I guess that's why promises are there ?
how to induce semicolons on ctrl + save , is there any extension for that
Happy Teacher's Day sir 💐💐
happy teacher day sir thanks for making me a better scripter pls am tryin to purchase ur React course but am having issues with the gst because am frm nigeria
Happy Teachers Day Sir...
Happy teacher's day Sir
Happy teachers' day sir
Happy teachers day😊😊😊
Please made tutorial on react native
the series will end soon. :-(
Inside an object , the arrow function points to the global context({}) instead of the current object why??
--> Arrow functions should not be used inside objects to declare methods.
-> When you call the method, 'this' inside the arrow function refers to the place from which you call the method rather that the object you called.
-> you can use other shorthand
const obj = {
method1(){
statement...
}
}
-> that's an important disadvantage of arrow function inside object hope this helps.
Thank you so much @Arvind k
cool
Sir how i remember what i learn, i code following the video tutorial, but when i return next day to study again i feel i forgot everything what i learned the previous day.
If you are a beginner, please try repeat this js Series for atleast 2 times along with practice, then next time you will not forget 80-90% of concepts.
@@VIKASGUPTA-ec1kd Thanks bro 😊
Are you learning Spanish.....
Happy teachers day sir
Happy teachers day sir