COROIO: NNet::TPromiseBase< T > Struct Template Reference
COROIO
 
Loading...
Searching...
No Matches
NNet::TPromiseBase< T > Struct Template Reference

Base promise type for coroutines. More...

#include <corochain.hpp>

Inheritance diagram for NNet::TPromiseBase< T >:
NNet::TPromise< T >

Public Member Functions

std::suspend_never initial_suspend ()
 
TFinalAwaiter< T > final_suspend () noexcept
 

Public Attributes

std::coroutine_handle Caller = std::noop_coroutine()
 Handle to the caller coroutine (initialized to a no-operation coroutine).
 

Detailed Description

template<typename T>
struct NNet::TPromiseBase< T >

Base promise type for coroutines.

Provides the initial and final suspension behavior and stores the caller coroutine's handle.

Template Parameters
TThe type of the coroutine's return value.

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