Skip to content

Match Node's turn order for Promise.all, Promise.race and async generator returns - #942

Merged
ctate merged 1 commit into
mainfrom
ctate/match-node-s-b38342
Oct 13, 2026
Merged

ctate merged 1 commit into
mainfrom
ctate/match-node-s-b38342

Conversation

@ctate

@ctate ctate commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator
  • Promise.all and Promise.race settle through per-entry reaction jobs, one microtask turn after each entry settles, ordered with the entry's other reactions.
  • An async generator's return p settles with Node's turns, and returns crossing finally blocks await before those blocks run.
  • bench:runtime is neutral on every workload.

@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Oct 13, 2026 9:28pm UTC

@ctate
ctate merged commit d6e9cb8 into main Oct 13, 2026
90 checks passed
@ctate
ctate deleted the ctate/match-node-s-b38342 branch October 13, 2026 21:55

This branch was successfully deployed

1 active deployment
Preview — d46d8a22 Deployed Oct 13, 2026 by vercel[bot]
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