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. 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.