44 std::shared_ptr<Impl> impl_;
49 static void schedule_next(std::shared_ptr<Impl> impl, std::uint64_t gen);
Definition event_loop.hpp:22
Timer(EventLoop &loop, Duration interval, Callback callback, bool repeating=true)
Duration interval() const
void set_interval(Duration interval)
std::function< void()> Callback
Definition timer.hpp:27
Timer(const Timer &)=delete
Timer & operator=(const Timer &)=delete
Definition child_process_manager.hpp:18
Clock::duration Duration
Definition event_loop.hpp:17