@bluelibs/runner - v6.3.1
    Preparing search index...

    Type Alias ResolvedRunOptions

    Fully normalized runtime options stored on the active runtime instance.

    type ResolvedRunOptions = {
        debug?: DebugFriendlyConfig;
        dispose: {
            cooldownWindowMs: number;
            drainingBudgetMs: number;
            totalBudgetMs: number;
        };
        dryRun: boolean;
        errorBoundary: boolean;
        executionContext: ExecutionContextConfig
        | null;
        identity: IdentityAsyncContext | null;
        lazy: boolean;
        lifecycleMode: ResourceLifecycleMode;
        logs: {
            bufferLogs: boolean;
            printStrategy: PrintStrategy;
            printThreshold: null | LogLevels;
        };
        mode: RunnerMode;
        onUnhandledError: OnUnhandledError;
        shutdownHooks: boolean;
        signal?: AbortSignal;
    }
    Index

    Properties

    Normalized debug configuration.

    dispose: {
        cooldownWindowMs: number;
        drainingBudgetMs: number;
        totalBudgetMs: number;
    }

    Type Declaration

    • cooldownWindowMs: number

      Post-cooldown admission window in milliseconds.

    • drainingBudgetMs: number

      Drain waiting budget in milliseconds.

    • totalBudgetMs: number

      Total shutdown budget in milliseconds.

    dryRun: boolean

    Whether dry-run mode is active.

    errorBoundary: boolean

    Whether process-level unhandled error capture is enabled.

    executionContext: ExecutionContextConfig | null

    Normalized execution-context configuration for this runtime.

    identity: IdentityAsyncContext | null

    Runtime-specific async context used for identity-aware framework behavior.

    lazy: boolean

    Whether lazy resource startup is active.

    lifecycleMode: ResourceLifecycleMode

    Normalized lifecycle scheduling mode.

    logs: {
        bufferLogs: boolean;
        printStrategy: PrintStrategy;
        printThreshold: null | LogLevels;
    }

    Type Declaration

    • bufferLogs: boolean

      Whether logs are buffered until startup is ready.

    • printStrategy: PrintStrategy

      Print style used for structured logs.

    • printThreshold: null | LogLevels

      Minimum log level printed to the configured sink.

    Effective runtime mode.

    onUnhandledError: OnUnhandledError

    Normalized unhandled-error callback.

    shutdownHooks: boolean

    Whether signal-based graceful shutdown hooks are installed.

    signal?: AbortSignal

    Optional external shutdown trigger captured for this runtime instance.