Timer guard for async operations.
More...
#include <asio_timer_manager.hpp>
Timer guard for async operations.
Definition at line 41 of file asio_timer_manager.hpp.
◆ timer_guard_t()
restinio::asio_timer_manager_t::timer_guard_t::timer_guard_t |
( |
asio_ns::io_context & |
io_context, |
|
|
std::chrono::steady_clock::duration |
check_period |
|
) |
| |
|
inlinenoexcept |
◆ cancel()
void restinio::asio_timer_manager_t::timer_guard_t::cancel |
( |
| ) |
|
|
inlinenoexcept |
Cancel timeout guard if any.
- Note
- Since v.0.6.0 this method is noexcept.
Definition at line 74 of file asio_timer_manager.hpp.
◆ schedule()
◆ m_check_period
const std::chrono::steady_clock::duration restinio::asio_timer_manager_t::timer_guard_t::m_check_period |
|
private |
◆ m_operation_timer
asio_ns::steady_timer restinio::asio_timer_manager_t::timer_guard_t::m_operation_timer |
|
private |
The documentation for this class was generated from the following file: