6 #ifndef KAGOME_TIMER_HPP 7 #define KAGOME_TIMER_HPP 10 #include <system_error> 19 virtual ~Timer() =
default;
44 const std::function<
void(
const std::error_code &)> &h) = 0;
48 #endif // KAGOME_TIMER_HPP virtual void asyncWait(const std::function< void(const std::error_code &)> &h)=0
virtual void expiresAt(clock::SystemClock::TimePoint at)=0
virtual void expiresAfter(clock::SystemClock::Duration duration)=0
typename ClockType::duration Duration
typename ClockType::time_point TimePoint