RESTinio
|
A helper class for running exclusive action. Only a first action will run. More...
Public Member Functions | |
template<typename Action> | |
void | run_if_first (Action &&action) noexcept(noexcept(action())) |
void | disable () |
Disable ation: action will not be executed even on a first shot. |
Private Attributes | |
bool | m_not_executed_yet { true } |
A helper class for running exclusive action. Only a first action will run.
Definition at line 1452 of file ws_connection.hpp.
|
inline |
Disable ation: action will not be executed even on a first shot.
Definition at line 1468 of file ws_connection.hpp.
|
inlinenoexcept |
Definition at line 1457 of file ws_connection.hpp.
|
private |
Definition at line 1474 of file ws_connection.hpp.