Function email::wait_for_request(ServiceServer *, const std::chrono::milliseconds)
Defined in File wait.hpp
Function Documentation
-
struct ServiceRequest email::wait_for_request(ServiceServer *server, const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1))
Get a service request, waiting until one is available.
For the meaning of the timeout parameter, see
WaitSet::wait
.- Parameters:
server – the server
timeout – the timeout
- Returns:
the service request