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. |
Checks if the awaitable refers to a future result. |
|
~awaitable [destructor] |
Destructor. |
Header: asio/awaitable.hpp
Convenience header: asio.hpp