Expand description
A dyncfg::ConfigSet backed by LaunchDarkly.
Structs§
- Synced
Config πSet
Functions§
- dyn_
into_ πflag Converts a dyncfg ConfigVal into a LaunchDarkly FlagValue. Returns an error if the ConfigVal type isnβt supported by the FlagValue format. - ld_ctx π
- Start a background task that syncs to a ConfigSet from LaunchDarkly.
ctx_builder
can be used to add additional LD contexts. Abuild
context is added automatically. ReturnsOk
after the LD client has been initialized and an initial sync completed. If the initialization takes longer thanconfig_sync_timeout
, an error is returned.