boost::corosio::basic_io_context::poll_one

Process at most one ready work item without blocking.

Synopsis

std::size_t
poll_one();

Description

This function executes at most one work item that is ready to run without blocking for more work. 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 (0 or 1).

Created with MrDocs