@bluecadet/launchpad-cli
Version:
CLI for @bluecadet/launchpad utilities
7 lines • 348 B
TypeScript
/**
* 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