#include "timer_impl.hpp"


Public Member Functions | |
| TimerImpl (std::chrono::milliseconds delay_milliseconds) | |
| void | invokeAfterDelay (std::function< void()> handler) override |
Public Member Functions inherited from iroha::consensus::yac::Timer | |
| virtual | ~Timer ()=default |
| TimerImpl::TimerImpl | ( | std::chrono::milliseconds | delay_milliseconds | ) |
Constructor
| delay_milliseconds | delay before the next method invoke |
|
overridevirtual |
Invoke handler with class-specific strategy
| handler | - function, that will be invoked |
Implements iroha::consensus::yac::Timer.
