asio C++ library

PrevUpHomeNext

waitable_timer_service::expires_from_now

(Deprecated: Use expiry().) Get the expiry time for the timer relative to now.

duration expires_from_now(
    const implementation_type & impl) const;
  » more...

(Deprecated: Use expires_after().) Set the expiry time for the timer relative to now.

std::size_t expires_from_now(
    implementation_type & impl,
    const duration & expiry_time,
    asio::error_code & ec);
  » more...

PrevUpHomeNext