UNPKG

@bluecadet/launchpad-cli

Version:
7 lines 348 B
/** * Registers a callback to be invoked on process termination signals (SIGINT, SIGTERM, SIGHUP). * SIGHUP is emitted when the terminal window is closed (e.g. via the X button). * Returns a function to unregister the callback. */ export declare function onTerminate(callback: () => void): () => void; //# sourceMappingURL=on-terminate.d.ts.map