amis-rpc-design/node_modules/memfs/lib/setTimeoutUnref.d.ts

8 lines
331 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export 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;