Crate mz_dyncfg_launchdarkly

Source
Expand description

A dyncfg::ConfigSet backed by LaunchDarkly.

Structs§

SyncedConfigSet 🔒

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_builder can be used to add additional LD contexts. A build context is added automatically. Returns Ok after the LD client has been initialized and an initial sync completed. If the initialization takes longer than config_sync_timeout, an error is returned.