Readonly configuredThe configured default foreground mode (from config, not auto-promoted).
Get the currently resolved connection mode.
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.
Called to reject the identify operation.
Called to complete the identify operation.
The context being identified.
Optional identifyOptions: LDIdentifyOptionsOptions for identification.
Optional Optional setUpdate the automatic streaming state based on whether change listeners
are registered. When true and forced streaming is not set, the data
manager should activate streaming.
Optional — only browser data managers implement this.
Set an explicit connection mode override that bypasses all automatic behavior (transition table, streaming, lifecycle). Pass undefined to clear the override and return to automatic behavior.
Optional mode: FDv2ConnectionModeOptional Optional setForce streaming on or off. When true, the data manager should
maintain a streaming connection. When false, streaming is disabled.
When undefined, the forced state is cleared and automatic behavior
takes over.
Optional — only browser data managers implement this.
Optional streaming: booleanOptional Update the pending network state. Goes through debounce.
Generated using TypeDoc
The public interface returned by createFDv2DataManagerBase. Extends DataManager with mode control methods.