Interface ShutdownOptions

    Options for Eddyq.shutdown. All fields optional.

    interface ShutdownOptions {
        gracefulTimeoutMs?: number;
        mode?: string;
    }
    Index

    Properties

    gracefulTimeoutMs?: number

    For mode="drain", max time to wait for in-flight handlers (ms). Ignored by force / abandon (which don't await handlers). Default 30_000.

    mode?: string

    Shutdown mode — "drain" (default), "force", or "abandon". See Eddyq.shutdown docs for the tradeoffs.