Cancel any asynchronous operations that are waiting on the timer.
std::size_t cancel(); » more...
(Deprecated: Use non-error_code overload.) Cancel any asynchronous operations that are waiting on the timer.
std::size_t cancel( asio::error_code & ec); » more...