In this talk, we'll have a look at how the Event Loop interacts with WebAPIs and the rendering pipeline and how it manages tasks and task queues. And we'll see what's so special about Promises and check out event loops outside the browser window, in Node and web workers.
Outline/Structure of the Talk
- Tasks: how they're created and executed
- Overview of task queues & the rendering pipeline and how they interact
- Special kinds of queues: microtask queue, animation frame callback queue
- Node and its queues
- Event Loops in web workers and other multi-threaded environments