The Runtime Theory

One Event Loop Turn Resumes Asynchronous Work

Follow a callback, a pending operation, its completion notification, queued promise work, and the next JavaScript continuation.

The Runtime Theory Team05 stages

trace / request.md

RUN CALLBACKWAIT FOROPERATIONOBSERVECOMPLETIONDRAINRUNNABLE JOBSRESUMEAPPLICATION

readyJavaScript executes synchronously until the current callback returns, throws, or suspends through an async boundary.

This high-level view separates waiting from JavaScript execution. It does not claim that all asynchronous operations use the same operating-system facility or worker pool.

Not started

Sign in to save your learning progress.

Sign in to save