Kfg Documentation
    Preparing search index...

    Interface KfgOptions<D>

    Per-instance options, independent of the driver's own configuration.

    interface KfgOptions<D extends KfgDriver<any, any>> {
        forceExit?: boolean;
        lazy?: boolean;
        load?: KfgLoadOptions<D>;
        scope?: string;
    }

    Type Parameters

    Index
    forceExit?: boolean

    Overrides the driver's forceExit. Set it to false when one broken configuration must not take the whole process down (the validation error is thrown instead).

    lazy?: boolean

    Loads on first access instead of requiring an explicit load(). Synchronous drivers only — an async load cannot be hidden behind a synchronous get().

    Load options used by the lazy auto-load.

    scope?: string

    Scope id this instance belongs to, attached to validation errors.