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: asio/awaitable.hpp
Convenience header: asio.hpp