js-client-sdk

Home > @eppo/js-client-sdk > IClientConfig > updateOnFetch

IClientConfig.updateOnFetch property

Sets how the configuration is updated after a successful fetch - always: immediately start using the new configuration - expired: immediately start using the new configuration only if the current one has expired - empty: only use the new configuration if the current one is both expired and uninitialized/empty

Signature:

updateOnFetch?: ServingStoreUpdateStrategy;