@flowscripter/dynamic-cli-framework-api
    Preparing search index...

    Interface ShutdownService

    Service allowing registration of prioritised tasks to run during CLI shutdown.

    interface ShutdownService {
        isShutdownRequested: boolean;
        enterLongRunningMode(): void;
        interrupt(): void;
        leaveLongRunningMode(): void;
        registerTask(task: ShutdownTask): void;
    }
    Index
    isShutdownRequested: boolean

    True once shutdown has been requested (e.g. first Ctrl-C in long-running mode).