@backtrace/sdk-core
Version:
Backtrace-JavaScript SDK core library
8 lines (7 loc) • 327 B
TypeScript
/**
* Due to the event loop, NodeJS application might not exit
* due to some background work that the SDK delegates to setIntervals.
* Thanks to this helper we can cancell interval in NodeJS process.
* @param interval setInterval interval
*/
export declare function unrefInterval(interval: number | NodeJS.Timeout): void;