Private
_contextPrivate
_flagReadonly
eventsAn event emitter for ProviderEvents.
ProviderEvents
Readonly
metadataReadonly
name: "in-memory"Readonly
runsRepresents where the provider is intended to be run. If defined, the SDK will enforce that the defined paradigm at runtime.
A function used to setup the provider. Called by the SDK after the provider is set if the provider's status is NOT_READY. When the returned promise resolves, the SDK fires the ProviderEvents.Ready event. If the returned promise rejects, the SDK fires the ProviderEvents.Error event. Use this function to perform any context-dependent setup within the provider.
Optional
context: EvaluationContextPrivate
lookupOptional
ctx: EvaluationContextPrivate
resolveOptional
context: EvaluationContextOptional
logger: LoggerResolve a boolean flag and its evaluation details.
Optional
context: EvaluationContextOptional
logger: LoggerPrivate
resolveOptional
ctx: EvaluationContextResolve a numeric flag and its evaluation details.
Optional
context: EvaluationContextOptional
logger: LoggerResolve and parse an object flag and its evaluation details.
Optional
context: EvaluationContextOptional
logger: LoggerResolve a string flag and its evaluation details.
Optional
context: EvaluationContextOptional
logger: LoggerGenerated using TypeDoc
A simple OpenFeature provider intended for demos and as a test stub.