C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::internal::Awaitable< CoroOrFuture, PromiseType > Class Template Reference

Public Types

using await_type = std::remove_pointer_t< CoroOrFuture >
 
using value_type = typename await_type::value_type
 

Public Member Functions

 Awaitable (CoroOrFuture &&coro_or_future)
 
bool await_ready ()
 
bool await_suspend (const std::coroutine_handle< PromiseType > &promise)
 
bool await_suspend (const std::coroutine_handle< PromiseType > &promise)
 
value_type && await_resume ()
 
void await_resume ()
 
CoroPollState Advance (Context &cx)
 
CoroPollState Advance (Context &cx)
 

The documentation for this class was generated from the following file: