4#include <boost/assert.hpp>
27 BOOST_ASSERT(
result_.has_value());
34 std::coroutine_handle<> handle = *
handle_;
42 std::optional<std::coroutine_handle<>>
handle_;
GenericAwaiter & operator=(GenericAwaiter &&)=default
GenericAwaiter(GenericAwaiter &&)=default
bool await_ready() const
Definition awaiter.h:19
Result await_resume()
Definition awaiter.h:26
void resume(Result result)
Definition awaiter.h:31
void await_suspend(std::coroutine_handle<> handle)
Definition awaiter.h:21
std::optional< Result > result_
Definition awaiter.h:41
std::optional< std::coroutine_handle<> > handle_
Definition awaiter.h:42
GenericAwaiter & operator=(const GenericAwaiter &)=delete
GenericAwaiter(const GenericAwaiter &)=delete
static void enqueue(std::coroutine_handle<> handle)
Definition loop.cc:73
Definition async_work.cc:17