#include <userver/dynamic_config/source.hpp>
Helper class for subscribing to dynamic-config updates with a custom callback.
Stores information about the last update that occurred.
previous | dynamic_config::Snapshot of the previous config or std::nullopt if this update event is the first for the subscriber. |
Definition at line 57 of file source.hpp.
Public Attributes | |
std::optional< Snapshot > | previous |
Snapshot | current |
Snapshot dynamic_config::Diff::current |
Definition at line 59 of file source.hpp.
std::optional<Snapshot> dynamic_config::Diff::previous |
Definition at line 58 of file source.hpp.