Hierarchy

  • BaseDataManager

Implements

Constructors

Properties

_connectionParams?: any
_dataSourceEventHandler: any
_decorateProcessorWithStatusReporting: any
baseHeaders: LDHeaders
context?: Context
credential: string
dataSourceStatusManager: default
diagnosticsManager?: DiagnosticsManager
emitter: LDEmitter
flagManager: FlagManager
getPollingPaths: (() => DataSourcePaths)

Type declaration

getStreamingPaths: (() => DataSourcePaths)

Type declaration

logger: LDLogger
platform: Platform
updateProcessor?: LDStreamProcessor

Methods

  • Parameters

    • context: LDContext
    • checkedContext: Context
    • requestor: Requestor
    • Optional identifyResolve: (() => void)
      Optional
        • (): void
        • Returns void

    • Optional identifyReject: ((err) => void)
      Optional
        • (err): void
        • Parameters

          • err: Error

          Returns void

    Returns void

  • Parameters

    • context: LDContext
    • checkedContext: Context
    • pollingRequestor: Requestor
    • Optional identifyResolve: (() => void)
      Optional
        • (): void
        • Returns void

    • Optional identifyReject: ((err) => void)
      Optional
        • (err): void
        • Parameters

          • err: Error

          Returns void

    Returns void

  • This function handles the data management aspects of the identification process.

    Implementation Note: The identifyResolve and identifyReject function resolve or reject the identify function at LDClient level. It is likely in individual implementations that these functions will be passed to other components, such as a datasource, do indicate when the identify process has been completed. The data manager identify function should return once everything has been set in motion to complete the identification process.

    Parameters

    • identifyResolve: (() => void)

      Called to reject the identify operation.

        • (): void
        • Returns void

    • identifyReject: ((err) => void)

      Called to complete the identify operation.

        • (err): void
        • Parameters

          • err: Error

          Returns void

    • context: Context

      The context being identified.

    • Optional identifyOptions: LDIdentifyOptions

      Options for identification.

      Optional

    Returns Promise<void>

  • Set additional connection parameters for requests polling/streaming.

    Parameters

    Returns void

Generated using TypeDoc