Fetches a synchronously-queryable snapshot of every flag for a context.
The evaluation context
The snapshot
Evaluates a boolean flag for a context.
The flag key
The evaluation context
Returned when the flag is absent or non-boolean
The evaluated value
Shuts the client down and flushes pending events. Synchronous.
Whether the client has completed initialization. Synchronous.
Registers an event listener. The provider listens for 'update', which
fires whenever any flag's configuration changes.
The event name
Invoked when the event fires
Resolves once the client has connected, or rejects on permanent failure.
Optionaloptions: { timeoutSeconds?: number }
Initialization wait budget
A promise settling on initialization
The subset of LaunchDarkly's
LDClientthis provider uses.Since
0.2.0