Configuration for creating an FDv2DataManagerControl.

Hierarchy

  • FDv2DataManagerBaseConfig

Properties

backgroundMode: undefined | FDv2ConnectionMode

The background connection mode, if any.

baseHeaders: LDHeaders
buildQueryParams: ((identifyOptions?) => {
    key: string;
    value: string;
}[])

Type declaration

    • (identifyOptions?): {
          key: string;
          value: string;
      }[]
    • Platform-specific function to build query params for each identify call. Browser returns [{ key: 'auth', value: credential }] + optional hash. Mobile returns [] (uses Authorization header instead).

      Parameters

      Returns {
          key: string;
          value: string;
      }[]

credential: string
emitter: LDEmitter
fallbackTimeoutMs?: number

Fallback condition timeout in ms (default 120s).

fdv1Endpoints?: DataSourceEndpoints

FDv1 endpoint factory for fallback. When provided, a blocked FDv1 polling synchronizer slot is automatically appended to every data source. It is activated when an FDv2 response includes the x-ld-fd-fallback header.

Browser: browserFdv1Endpoints(clientSideId) Mobile: mobileFdv1Endpoints()

flagManager: FlagManager
foregroundMode: FDv2ConnectionMode

The configured foreground connection mode. Use resolveForegroundMode to derive.

modeTable: ModeTable

The mode table mapping modes to data source definitions.

platform: Platform
recoveryTimeoutMs?: number

Recovery condition timeout in ms (default 300s).

sourceFactoryProvider: SourceFactoryProvider

Provider that converts DataSourceEntry descriptors to concrete factories.

transitionTable: ModeResolutionTable

Mode resolution table for this platform.

Generated using TypeDoc