zibri
    Preparing search index...

    Runs when the app shuts down.

    interface OnAppShutdown {
        onAppShutdown: (
            app: ZibriApplication,
            signal: "SIGHUP" | "SIGINT" | "SIGTERM" | undefined,
        ) => void | Promise<void>;
        shutdownTimeoutInMs?: number;
    }

    Implemented by

    Index

    Properties

    onAppShutdown: (
        app: ZibriApplication,
        signal: "SIGHUP" | "SIGINT" | "SIGTERM" | undefined,
    ) => void | Promise<void>

    Runs when the app shuts down.

    shutdownTimeoutInMs?: number

    The timeout for after which the graceful shutdown should fail.

    30 seconds