...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
object's event processing loop for a specified duration to execute at most
template< typename Rep, typename Period> std::size_t run_one_for( const chrono::duration< Rep, Period > & rel_time);
function blocks until one handler has been dispatched, until the
has been stopped, or until the specified duration has elapsed.
The duration for which the call may block.
The number of handlers that were executed.