boost::corosio::basic_io_context::run

Process all pending work items.

Synopsis

std::size_t
run();

Description

This function blocks until all pending work items have been executed 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.

Created with MrDocs