Future specialization for coroutines that return void. More...
#include <corochain.hpp>
Public Member Functions | |
void | await_resume () |
template<typename Func > | |
auto | Accept (Func func) -> TFuture< void > |
Registers a continuation to be executed after the coroutine completes. | |
![]() | |
TFutureBase (TPromise< void > &promise) | |
TFutureBase (TFutureBase &&other) | |
TFutureBase (const TFutureBase &)=delete | |
TFutureBase & | operator= (const TFutureBase &)=delete |
TFutureBase & | operator= (TFutureBase &&other) |
bool | await_ready () const |
bool | done () const |
std::coroutine_handle | raw () |
void | await_suspend (std::coroutine_handle<> caller) |
Additional Inherited Members | |
![]() | |
using | promise_type = TPromise< void > |
![]() | |
std::coroutine_handle< TPromise< void > > | Coro |
Future specialization for coroutines that return void.
|
inline |
Registers a continuation to be executed after the coroutine completes.
Func | The type of the continuation function. |
func | The function to execute after completion. |