AllFlagsOptions

Properties

NameType
groupsRecord<string, string>
personPropertiesProperties
groupPropertiesRecord<string, Properties>
onlyEvaluateLocallyboolean

Skip remote fallback and omit flags that local definitions cannot resolve.

disableGeoipboolean
flagKeysstring[]

Restrict local evaluation, the /flags request, and the returned snapshot to these keys. An empty array returns an empty snapshot without evaluating flags; omitting this option evaluates all flags. evaluateFlags() falls back remotely when a requested key is missing from local definitions unless onlyEvaluateLocally is true. Remote evaluation responses are not cached, so a key missing both locally and remotely costs one /flags request per call.