Object returned by operator co_await(). Meant to be used by the standard library, not by a user.
More...
#include <when_any.h>
|
bool | await_ready () const noexcept |
| First function called by the standard library when using co_await. More...
|
|
bool | await_suspend (detail::std_coroutine::coroutine_handle<> caller) noexcept |
| Second function called by the standard library when using co_await. More...
|
|
result | await_resume () const noexcept |
| Third and final function called by the standard library when using co_await. Returns the result object. More...
|
|
template<typename... Args>
struct dpp::when_any< Args >::awaiter
Object returned by operator co_await(). Meant to be used by the standard library, not by a user.
- See also
- result
◆ await_ready()
template<typename... Args>
First function called by the standard library when using co_await.
- Returns
- bool Whether the result is ready
◆ await_resume()
template<typename... Args>
Third and final function called by the standard library when using co_await. Returns the result object.
- See also
- result
◆ await_suspend()
template<typename... Args>
bool dpp::when_any< Args >::awaiter::await_suspend |
( |
detail::std_coroutine::coroutine_handle<> |
caller | ) |
|
|
inlinenoexcept |
Second function called by the standard library when using co_await.
- Returns
- bool Returns false if we want to resume immediately.
◆ self
template<typename... Args>