Optional
internalOptions: LDInternalOptionsOptional
Readonly
autoPrivate
Readonly
clientOptional
contextPrivate
createPrivate
createOptional
diagnosticsPrivate
emitterPrivate
eventPrivate
eventOptional
eventPrivate
flagsPrivate
getReadonly
highPrivate
onPerforms common tasks when resolving the identify promise:
For logging purposes
Readonly
platformReadonly
sdkOptional
streamerPrivate
typedPrivate
variationProtected
createProtected
Generates the url path for streamer.
For mobile key: /meval/${base64-encoded-context} For clientSideId: /eval/${envId}/${base64-encoded-context}
the path.
This function must be overridden in subclasses for streamer to work.
The LDContext object
Gets the SDK connection mode.
Identifies a context to LaunchDarkly. See LDClient.identify.
The LDContext object to be identified.
Optional
identifyOptions: LDIdentifyOptionsOptional configuration. See LDIdentifyOptions.
Optional
A Promise which resolves when the flag values for the specified context are available. It rejects when:
The context is unspecified or has no key.
The identify timeout is exceeded. In client SDKs this defaults to 5s. You can customize this timeout with LDIdentifyOptions | identifyOptions.
A network error is encountered during initialization.
Sets the SDK connection mode.
One of supported ConnectionMode. Default is 'streaming'.
Optional
defaultValue: anyOptional
Generated using TypeDoc
Creates the client object synchronously. No async, no network calls.