Further adventures of the Event Loop

A presentation at YOW! Perth in in Perth WA, Australia by Erin Zimmer

The Event Loop underpins everything that happens in JavaScript. It’s how JavaScript handles I/O events without blocking, even though it’s single-threaded. It’s responsible for executing callbacks and managing repainting.

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.

Video