| 155 | typedef std::function<void()> after_handler; |
| 156 | |
| 157 | explicit Timer(after_handler &&a_handler) : a_handler(std::move(a_handler)), impl(nullptr) {} |
| 158 | ~Timer() { cancel(); } |
| 159 | |
| 160 | void once(float after_seconds); // cancels previous once first |
nothing calls this directly
no outgoing calls
no test coverage detected