Class BaseDataManagerAbstract

Hierarchy

  • BaseDataManager

Implements

Constructors

Properties

_connectionParams?: ConnectionParams
_dataSourceEventHandler: default
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>

Generated using TypeDoc