...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 = any_io_executor> class awaitable
Name |
Description |
---|---|
The executor type that will be used for the coroutine. |
|
The type of the awaited value. |
Name |
Description |
---|---|
awaitable [constructor] |
Default constructor. |
Move assignment. |
|
Checks if the awaitable refers to a future result. |
|
~awaitable [destructor] |
Destructor. |
Header: boost/asio/awaitable.hpp
Convenience header: boost/asio.hpp