boost::corosio::io_context::run_one_until
Process at most one work item until the specified time.
Synopsis
Declared in <boost/corosio/io_context.hpp>
template<
class Clock,
class Duration>
std::size_t
run_one_until(std::chrono::time_point<Clock, Duration> const& abs_time);
Description
This function blocks until one work item has been executed, the specified time is reached, or stop() is called. The context is stopped when there is no more outstanding work.
|
The context must be restarted with |
Parameters
Name |
Description |
abs_time |
The time point until which the call may block. |
Created with MrDocs