Files
vat-api.eu/node_modules/unenv/dist/runtime/node/internal/timers/timeout.d.mts
2026-02-13 22:02:30 +01:00

12 lines
286 B
TypeScript

export declare class Timeout<TArgs extends any[]> implements NodeJS.Timeout {
constructor(callback: TimerHandler, args: TArgs);
close(): this;
_onTimeout(...args: any[]): void;
ref();
unref();
hasRef(): boolean;
refresh();
[Symbol.dispose]();
[Symbol.toPrimitive](): number;
}