...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Run an I/O context for a certain amount of time.
Defined in header <boost/beast/_experimental/test/handler.hpp>
template< class Rep, class Period> void run_for( net::io_context& ioc, std::chrono::duration< Rep, Period > elapsed);
This function runs and dispatches handlers on the specified I/O context, until one of the following conditions is true:
Name |
Description |
---|---|
|
The I/O context to run |
|
The maximum amount of time to run for. |