node:timers

Node's callback and Promise timer modules.

node:timers and node:timers/promises match Node, including scheduler and AbortSignal support. Ordering is covered under Timers.

Differences from Node

  • node:timers functions are not the same objects as the timer globals.
  • active() and unenroll() are not exposed.