asio C++ library

PrevUpHomeNext
basic_waitable_timer::wait (1 of 2 overloads)

Perform a blocking wait on the timer.

void wait();

This function is used to wait for the timer to expire. This function blocks and does not return until the timer has expired.

Exceptions

asio::system_error

Thrown on failure.


PrevUpHomeNext