| 55 | class Timer : public TimerBase, public std::enable_shared_from_this<Timer<TaskType>> { |
| 56 | public: |
| 57 | Timer(ExecutorRef executor, std::chrono::nanoseconds period, TaskType&& task) |
| 58 | : TimerBase(executor, period), task_(std::forward<TaskType>(task)) {} |
| 59 | |
| 60 | ~Timer() override { Cancel(); } |
| 61 |
nothing calls this directly
no outgoing calls
no test coverage detected