Abstract
Protected
Abstract
Readonly
_apiProtected
_clientProtected
_contextProtected
Abstract
_defaultProtected
_domainProtected
Abstract
Readonly
_domainProtected
_hooksProtected
_loggerProtected
_runsProtected
Abstract
Readonly
_statusProvider Metadata
Protected
Abstract
_createAdds a handler for the given provider event type. The handlers are called in the order they have been added. API (global) events run for all providers.
The provider event type to listen to
The handler to run on occurrence of the event type
Adds hooks that will run during flag evaluations on this receiver. Hooks are executed in the order they were registered. Adding additional hooks will not remove existing hooks. Hooks registered on the global API object run with all evaluations. Hooks registered on the client run with all evaluations on that client.
Rest
...hooks: H[]A list of hooks that should always run
The receiver (this object)
Protected
buildOptional
domain: stringProtected
clearProtected
getGets the current handlers for the given provider event type.
The provider event type to get the current handlers for
The handlers currently attached to the given provider event type
Protected
getGet metadata about a registered provider using the client name. An unbound or empty client name will return metadata from the default provider.
Optional
domain: stringAn identifier which logically binds clients with providers
Provider Metadata
Removes a handler for the given provider event type.
The provider event type to remove the listener for
The handler to remove for the provider event type
Protected
setSets a logger on this receiver. This logger supersedes to the global logger and is passed to various components in the SDK. The logger configured on the global API object will be used for all evaluations, unless overridden in a particular client.
The logger to be used
The receiver (this object)
Abstract
setOptional
clientOrProvider: string | POptional
providerContextOrUndefined: EvaluationContext | POptional
contextOrUndefined: EvaluationContextAbstract
setOptional
clientOrProvider: string | POptional
providerContextOrUndefined: EvaluationContext | POptional
contextOrUndefined: EvaluationContext
Get metadata about the default provider.