Abstract Protected constructorPrivate Optional _clientPrivate Optional _clientPrivate _initPrivate _loggerReadonly eventsReadonly metadataReadonly runsReturns the OpenFeature hooks registered for this provider. The LaunchDarkly provider does not currently register any provider-level hooks, so this always returns an empty array.
Protected emitDetermines the boolean variation of a feature flag for a context, along with information about how it was calculated.
If the flag does not evaluate to a boolean value, then the defaultValue will be returned.
The unique key of the feature flag.
The default value of the flag, to be used if the value is not available from LaunchDarkly.
The context requesting the flag. The client will generate an analytics event to register this context with LaunchDarkly if the context does not already exist.
A promise which will resolve to a ResolutionDetails.
Determines the numeric variation of a feature flag for a context, along with information about how it was calculated.
If the flag does not evaluate to a numeric value, then the defaultValue will be returned.
The unique key of the feature flag.
The default value of the flag, to be used if the value is not available from LaunchDarkly.
The context requesting the flag. The client will generate an analytics event to register this context with LaunchDarkly if the context does not already exist.
A promise which will resolve to a ResolutionDetails.
Determines the object variation of a feature flag for a context, along with information about how it was calculated.
If the flag does not evaluate to a JSON object value, then the defaultValue will be returned.
The unique key of the feature flag.
The default value of the flag, to be used if the value is not available from LaunchDarkly.
The context requesting the flag. The client will generate an analytics event to register this context with LaunchDarkly if the context does not already exist.
A promise which will resolve to a ResolutionDetails.
Determines the string variation of a feature flag for a context, along with information about how it was calculated.
If the flag does not evaluate to a string value, then the defaultValue will be returned.
The unique key of the feature flag.
The default value of the flag, to be used if the value is not available from LaunchDarkly.
The context requesting the flag. The client will generate an analytics event to register this context with LaunchDarkly if the context does not already exist.
A promise which will resolve to a ResolutionDetails.
Protected setProtected setCalled by subclass constructors when client construction throws. The error will be re-thrown from initialize.
Generated using TypeDoc
Base OpenFeature provider for LaunchDarkly server-side SDKs.
Subclasses must: