Timer guard for async operations.
More...
#include <so_timer_manager.hpp>
Timer guard for async operations.
Definition at line 67 of file so_timer_manager.hpp.
◆ timer_guard_t()
restinio::so5::so_timer_manager_t::timer_guard_t::timer_guard_t |
( |
so_5::environment_t & |
env, |
|
|
so_5::mbox_t |
mbox, |
|
|
std::chrono::steady_clock::duration |
check_period |
|
) |
| |
|
inline |
◆ cancel()
void restinio::so5::so_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 101 of file so_timer_manager.hpp.
◆ schedule()
◆ m_check_period
const std::chrono::steady_clock::duration restinio::so5::so_timer_manager_t::timer_guard_t::m_check_period |
|
private |
◆ m_current_op_timer
so_5::timer_id_t restinio::so5::so_timer_manager_t::timer_guard_t::m_current_op_timer |
|
private |
◆ m_env
so_5::environment_t& restinio::so5::so_timer_manager_t::timer_guard_t::m_env |
|
private |
◆ m_mbox
const so_5::mbox_t restinio::so5::so_timer_manager_t::timer_guard_t::m_mbox |
|
private |
The documentation for this class was generated from the following file: