Crate mz_dyncfg_launchdarkly

Source
Expand description

A dyncfg::ConfigSet backed by LaunchDarkly.

Structs§

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