JavaScript Under The Hood [3} - Asynchronous JavaScript, Task Queue & Event Loop
In this video, we will look at how JavaScript does Asynchronous operations and how the task queue and event loop works.
Event Loop & Microtask Queue Article:
https://towardsdev.com/event-loop-in-javascript-672c07618dc9
? My Courses & More
https://traversymedia.com
? Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia
? Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy
Timestamps:
0:00 - Intro
1:00 - Core JS Refresh
1:30 - Blocking Operations
2:05 - Blocking vs Non-Blocking Example
4:06 - Browser Web APIs
6:20 - setTimeout Example
7:47 - Task Queue & Event Loop
10:53 - Promises & Microtask Queue
Event Loop & Microtask Queue Article:
https://towardsdev.com/event-loop-in-javascript-672c07618dc9
? My Courses & More
https://traversymedia.com
? Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia
? Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy
Timestamps:
0:00 - Intro
1:00 - Core JS Refresh
1:30 - Blocking Operations
2:05 - Blocking vs Non-Blocking Example
4:06 - Browser Web APIs
6:20 - setTimeout Example
7:47 - Task Queue & Event Loop
10:53 - Promises & Microtask Queue
Traversy Media
Traversy Media features the best online web development and programming tutorials for all of the latest web technologies including Node.js, Angular 2, React.js, PHP, Rails, HTML, CSS and much more...