21 using ActionType = std::function<void()>;
22 using OperationType = std::optional<util::async::AnyOperation<void>>;
25 std::reference_wrapper<SystemState> state_;
26 std::chrono::steady_clock::duration interval_;
33 static ActionType
const kDefaultAmendmentBlockAction;
35 AmendmentBlockHandler(
38 std::chrono::steady_clock::duration interval = std::chrono::seconds{1},
39 ActionType action = kDefaultAmendmentBlockAction
42 ~AmendmentBlockHandler()
override;
A type-erased execution context.
Definition AnyExecutionContext.hpp:23