Skip to content

Add setImmediate and clearImmediate - #3

Open
puskuruk wants to merge 3 commits into
mainfrom
fix/set-immediate
Open

puskuruk wants to merge 3 commits into
mainfrom
fix/set-immediate

Conversation

@puskuruk

@puskuruk puskuruk commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

setImmediate was missing; the reactor gains a check-phase queue and the globals and node:timers an Immediate handle, ordered against ticks, microtasks and timers as in Node.

  • bc3389b Add a check-phase immediate queue to the reactor with _gea_node_immediate* intrinsics
  • 5184add Implement setImmediate and clearImmediate with an Immediate handle in global-timers and node:timers
  • b19461c Add scripts/test-set-immediate.mjs: node-vs-compiled ordering parity for immediates, ticks, microtasks and timers

Verification: node scripts/test-set-immediate.mjs → SET_IMMEDIATE_PARITY_OK:14.

Related

Independent of the other three runtime fixes (#2, #4, #5). Branch nest/base is main plus these four and is the base of #6 (Nest 1/4).

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 85bb0d36-f1fb-45db-84f0-5c816827dbff
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Add Carrot credits or activate Agent usage billing to use Autofix

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