zibri
    Preparing search index...

    Runs just after the app shuts down. This is useful for things like the data source service, which should still be available at the OnAppShutdown hooks.

    In most cases you probably want to implement OnAppShutdown.

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

    Hierarchy (View Summary)

    Index

    Properties

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

    Runs just after the app shuts down. This is useful for things like the data source service, which should still be available at the OnAppShutdown hooks.

    In most cases you probably want to implement OnAppShutdown.

    shutdownTimeoutInMs?: number

    The timeout for after which the graceful shutdown should fail.

    30 seconds