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 π
- sync_
launchdarkly_ to_ configset - Start a background task that syncs to a ConfigSet from LaunchDarkly.
ctx_buildercan be used to add additional LD contexts. Abuildcontext is added automatically. ReturnsOkafter the LD client has been initialized and an initial sync completed. If the initialization takes longer thanconfig_sync_timeout, an error is returned.