dpp::when_any::awaiter
when_any.h
when_any * when_any* dpp::when_any< Args >::awaiter::self self dpp::when_any::awaiter::self

Pointer to the when_any object.

bool bool dpp::when_any< Args >::awaiter::await_ready () const noexcept await_ready dpp::when_any::awaiter::await_ready

First function called by the standard library when using co_await.

bool Whether the result is ready

result result dpp::when_any< Args >::awaiter::await_resume () const noexcept await_resume dpp::when_any::awaiter::await_resume

Third and final function called by the standard library when using co_await. Returns the result object.

result

bool bool dpp::when_any< Args >::awaiter::await_suspend (detail::std_coroutine::coroutine_handle<> caller) noexcept await_suspend dpp::when_any::awaiter::await_suspend detail::std_coroutine::coroutine_handle<> caller

Second function called by the standard library when using co_await.

bool Returns false if we want to resume immediately.

Object returned by operator co_await(). Meant to be used by the standard library, not by a user.

result

dpp::when_any< Args >
dpp::when_any< Args >::awaiter
self
- dpp::when_any::awaiter
  await_ready
- dpp::when_any::awaiter
  await_resume
- dpp::when_any::awaiter
  await_suspend
- dpp::when_any::awaiter
  self