Function email::wait_for_message(Subscription *, const std::chrono::milliseconds)
Defined in File wait.hpp
Function Documentation
-
std::string email::wait_for_message(Subscription *subscription, const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1))
Get a message from a subscription, waiting until one is available.
For the meaning of the timeout parameter, see
WaitSet::wait
.See also
- Parameters:
subscription – the subscription
timeout – the timeout
- Returns:
the message