site-panzai/node_modules/nitropack/dist/runtime/internal/shutdown.d.ts

10 lines
348 B
TypeScript
Raw Permalink Normal View History

2026-11-13 13:57:04 +01:00
import type { Server as HttpServer } from "node:http";
import type { NitroApp } from "nitropack/types";
export declare function getGracefulShutdownConfig(): {
disabled: boolean;
signals: string[];
timeout: number;
forceExit: boolean;
};
export declare function setupGracefulShutdown(listener: HttpServer, nitroApp: NitroApp): void;