Obtain settings from provider
Last updated
Was this helpful?
Last updated
Was this helpful?
Requires: .
Settings can be obtained on-demand with 's Get method.
With prior :
With sources passed on per-call basis:
Always returns the most recent version of settings (updates may happen in background):
Call Get on every settings access for "hot" configuration;
Call Get once and cache the result for "cold" configuration;
First call for a type may block or due to source latency, data unavailability or incorrect data format. This behavior persists until a data update remedies the error;
Once warmed up, subsequent calls never block or throw errors and are extremely cheap due to . Future errors are not propagated to the calling code, but . Get calls return the last seen correct settings object;