Crate mz_dyncfg_launchdarkly
source ·Expand description
A dyncfg::ConfigSet backed by LaunchDarkly.
Structs§
Functions§
- 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.