Skip to content

Post: JavaScript Promises, Visualized: The Event Loop Behind Node.js - #2252

Open
bobbyonmagic wants to merge 5 commits into
mainfrom
content/javascript-promises-visualized
Open

bobbyonmagic wants to merge 5 commits into
mainfrom
content/javascript-promises-visualized

Conversation

@bobbyonmagic

@bobbyonmagic bobbyonmagic commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

New post: how JavaScript runs promises (call stack, microtask and task queues, async/await), then the Node.js parts that matter for services: nextTick vs promises, setImmediate and loop phases, a blocked loop failing a readiness probe, unhandled rejections, and event loop delay metrics.

  • 5 inline SVG diagrams (16:10), 3 animated diagrams, 1 chart, 1 diagram block
  • Animations ship as a 1600x1000 landscape MP4 for wide screens and a portrait MP4 for phones (two <video> elements toggled by the new .post-video-wide / .post-video-tall classes, capped at 85vh; no other post uses them)
  • Every output comes from running the examples on Node.js 24.22.3; browser ordering checked in Chromium 156
  • Links back from the Bun vs Node.js comparison
  • Scheduled for Fri 20 Nov 15:00 UTC. Draft: do not merge before then.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: c954c12
Status: ✅  Deploy successful!
Preview URL: https://e3517c66.devops-daily.pages.dev
Branch Preview URL: https://content-javascript-promises.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic marked this pull request as ready for review November 16, 2026 15:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant