securityos/node_modules/@cowasm/memfs/lib/setTimeoutUnref.d.ts

8 lines
339 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
export declare type TSetTimeout = (callback: (...args: any[]) => void, time?: number, args?: any[]) => any;
/**
* `setTimeoutUnref` is just like `setTimeout`,
* only in Node's environment it will "unref" its macro task.
*/
declare function setTimeoutUnref(callback: any, time?: any, args?: any): object;
export default setTimeoutUnref;