...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The return type of a coroutine or asynchronous operation.
template< typename T, typename Executor = executor> class awaitable
Name |
Description |
---|---|
The executor type that will be used for the coroutine. |
|
The type of the awaited value. |
Name |
Description |
---|---|
Default constructor. |
|
Checks if the awaitable refers to a future result. |
|
Destructor. |
Header: boost/asio/awaitable.hpp
Convenience header: boost/asio.hpp