For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface Timer

Use NodeJS.Timeout instead.

interface Timer {
    "[toPrimitive]"(): number;
    hasRef(): boolean;
    ref(): this;
    refresh(): this;
    unref(): this;
}

Hierarchy (View Summary)

Index
  • Returns number

  • Returns boolean

  • Returns this

Was this helpful?