Builds an object encapsulating the state of all feature flags for a given context.
Optional options: LDFlagsStateOptionsOptional Determines the boolean variation of a feature flag for a context.
Determines the boolean variation of a feature flag, along with evaluation details.
Determines the JSON variation of a feature flag for a context.
This version is preferred in TypeScript because it returns unknown instead of any,
requiring an explicit cast before use.
Determines the JSON variation of a feature flag, along with evaluation details.
Determines the numeric variation of a feature flag for a context.
Determines the numeric variation of a feature flag, along with evaluation details.
Determines the string variation of a feature flag for a context.
Determines the string variation of a feature flag, along with evaluation details.
Generated using TypeDoc
A minimal structural interface that any LaunchDarkly server SDK that can be used with createLDServerSession should satisfy.
Remarks
This interface decouples the React SDK from the concrete
LDClienttype in@launchdarkly/js-server-sdk-common, allowing edge SDKs and other custom server client implementations to be used with createLDServerSession.See
https://launchdarkly.github.io/js-core/packages/shared/sdk-server/docs/interfaces/LDClient.html for more information.