This repo contains slides and demo examples for my talk "Understanding the Node.js Event Loop" that I presented at the Node.js Global Summit 2022 on May 18, 2022.
I'll also be presenting this at UtahJS on September 23, 2022 with the talk title "A Deep Dive Into the Node.js Event Loop."
The demos
directory contains several files. Each file is an independent demo that you can run with Node.js. For example:
node demos/01-synchronous.js
Try to guess the order in which the functions will be executed before running each example.
- Introduction to Node.js
- Blocking vs. Non-Blocking Code in Node.js
- Timers in Node.js
- The Node.js Event Loop
- Don't Block the Event Loop