Skip to content
Opensource internals
  • Posts

Event loop

The Microtask Queue: How V8 Runs Promise Callbacks

Oct 23, 2026 17 min read Jay Hubbert

V8’s microtask queue is a per-realm ring buffer that is drained at a checkpoint after every API call, and promise reactions land in it through a map-morphing trick.

V8InternalsPromisesMicrotasksEvent loop

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·