asio C++ library

PrevUpHomeNext

basic_waitable_timer::basic_waitable_timer

Constructor.

explicit basic_waitable_timer(
    asio::io_context & io_context);
  » more...

Constructor to set a particular expiry time as an absolute time.

basic_waitable_timer(
    asio::io_context & io_context,
    const time_point & expiry_time);
  » more...

Constructor to set a particular expiry time relative to now.

basic_waitable_timer(
    asio::io_context & io_context,
    const duration & expiry_time);
  » more...

Move-construct a basic_waitable_timer from another.

basic_waitable_timer(
    basic_waitable_timer && other);
  » more...

PrevUpHomeNext