7namespace detail {
struct TimerState; }
27 std::shared_ptr<detail::TimerState>
state_;
A timer from App::run_every() or App::run_after().
Definition Timer.hpp:15
bool active() const
True until cancelled, or until a run_after() timer has run.
std::shared_ptr< detail::TimerState > state_
Definition Timer.hpp:27
void cancel()
Stops the timer: no further runs start (one already running finishes).
TimerHandle(std::shared_ptr< detail::TimerState > state)
Definition Timer.hpp:26
friend class Scheduler
Definition Timer.hpp:25
Definition Http2Session.hpp:18