MCP Server Framework - v1.0.0
    Preparing search index...

    Interface ShutdownConfig

    Configuration for graceful shutdown behavior.

    interface ShutdownConfig {
        forceExitOnTimeout: boolean;
        signals?: readonly Signals[];
        timeoutMs: number;
    }
    Index

    Properties

    forceExitOnTimeout: boolean

    Whether to force exit after timeout

    signals?: readonly Signals[]

    Signals to listen for (default: ['SIGINT', 'SIGTERM'])

    timeoutMs: number

    Maximum time to wait for graceful shutdown (ms)