UNPKG

signal-exit

Version:

when you want to fire an event no matter how a process exits.

12 lines 393 B
/** * This is a browser shim that provides the same functional interface * as the main node export, but it does nothing. * @module */ import type { Handler } from './index.js'; export declare const onExit: (cb: Handler, opts: { alwaysLast?: boolean; }) => () => void; export declare const load: () => void; export declare const unload: () => void; //# sourceMappingURL=browser.d.ts.map