Explore Library
Flashcard

Event Loop Phases & libuv Internals

The libuv event loop runs through ordered phases, each draining its own callback queue before advancing.

Question

What are the main phases of the libuv event loop, and when do microtasks run?

Click to reveal answer