OptionalinitialFlags: Readonly<Record<string, FlagDefinition>>Evaluates the flag against the current flag map.
Flag name.
Optionalcontext: FlagContext
Targeting context.
Whether the flag is enabled.
Removes a flag by name.
Flag name.
Replaces all flags with a new set.
New flag map.
Sets or updates a flag definition.
Flag name.
Flag definition.
No-op — in-memory store needs no startup.
No-op — in-memory store needs no shutdown.
Mutable in-memory flag provider.
Flags can be added, removed, or replaced at runtime. Useful for tests and dynamic flag management within a single process.
Example
Since
0.1.0