UNPKG

@graphql-mesh/utils

Version:
7 lines (6 loc) 364 B
declare const terminateEvents: readonly ["SIGINT", "SIGTERM"]; export type TerminateEvents = (typeof terminateEvents)[number]; export type TerminateHandler = (eventName: TerminateEvents) => void; export declare function registerTerminateHandler(callback: TerminateHandler): () => void; export declare function getTerminateStack(): AsyncDisposableStack; export {};