Setu-TS
    Preparing search index...

    Interface LaunchDarklyProviderConfig

    Configuration for the 'launchdarkly' provider arm.

    Supply sdkKey for the normal path, or inject client (a prebuilt SDK client) / module (the SDK module) to avoid the lazy dynamic import — the seam the provider's unit tests drive.

    0.2.0

    interface LaunchDarklyProviderConfig {
        client?: ILaunchDarklyClient;
        fallbackValue?: boolean;
        initTimeoutSeconds?: number;
        ldOptions?: Readonly<Record<string, unknown>>;
        module?: unknown;
        sdkKey?: string;
    }
    Index

    A prebuilt client. When present the SDK module is never loaded and sdkKey is not read.

    fallbackValue?: boolean

    Value returned by the synchronous isEnabled for a context whose snapshot has not loaded yet, and used as the SDK default in isEnabledAsync. Defaults to false.

    initTimeoutSeconds?: number

    Seconds to wait for the client's initial connection. Defaults to 5. A timeout is logged and tolerated, leaving the provider degraded rather than failing application startup.

    ldOptions?: Readonly<Record<string, unknown>>

    Options forwarded verbatim as the SDK init() second argument.

    module?: unknown

    The SDK module, adapted rather than imported. Lets a test drive the whole construction path without the real package installed.

    sdkKey?: string

    The LaunchDarkly SDK key. Required unless client is injected; a missing key with no client throws during register().