boost::corosio::basic_io_context::run_until

Process work items until the specified time.

Synopsis

template<
    class Clock,
    class Duration>
std::size_t
run_until(std::chrono::time_point<Clock, Duration> const& abs_time);

Description

This function blocks until 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 restart() before calling this function again after it returns.

Return Value

The number of handlers executed.

Parameters

Name Description

abs_time

The time point until which to process work.

Created with MrDocs