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. More... | |
Private Attributes | |
bool | m_not_executed_yet { true } |
A helper class for running exclusive action. Only a first action will run.
Definition at line 1408 of file ws_connection.hpp.
|
inline |
Disable ation: action will not be executed even on a first shot.
Definition at line 1424 of file ws_connection.hpp.
|
inlinenoexcept |
Definition at line 1413 of file ws_connection.hpp.
|
private |
Definition at line 1430 of file ws_connection.hpp.