Readonly loggerIdentifies a context to LaunchDarkly and returns a promise which resolves to an object containing the result of the identify operation.
Unlike the server-side SDKs, the client-side Node.js SDK maintains a current context
state, which is set when you call identify().
Changing the current context also causes all feature flag values to be reloaded. Until that has finished, calls to variation methods will still return flag values for the previous context. You can await the Promise to determine when the new flag values are available.
Use start to set the initial context at startup.
The context to identify.
Optional identifyOptions: LDIdentifyOptionsOptional configuration.
Optional A promise which resolves to an object containing the result of the identify operation.
Sets the data source connection mode.
Switches between 'offline', 'streaming', and 'polling' at runtime without restarting the client. Use 'offline' to pause all LaunchDarkly network activity.
Starts the client and returns a promise that resolves to the initialization result.
The promise will resolve to a LDWaitForInitializationResult object containing the status of the waitForInitialization operation.
Optional options: LDStartOptionsOptional configuration. See LDStartOptions.
Optional Optional defaultValue: anyOptional Optional options: LDWaitForInitializationOptionsOptional Generated using TypeDoc
Returns the current data source connection mode.