cutelyst  5.0.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst::CoroContext::promise_type Struct Reference

Public Member Functions

template<typename... ArgTypes>
 promise_type (QObject &obj, Cutelyst::Context *context, ArgTypes &&...)
 
template<typename... ArgTypes>
 promise_type (Cutelyst::Context *context, ArgTypes &&...)
 
bool await_ready () const noexcept
 
void await_resume () const noexcept
 
void await_suspend (std::coroutine_handle<> h) noexcept
 
void clean ()
 
std::suspend_never final_suspend () noexcept
 
CoroContext get_return_object ()
 
std::suspend_never initial_suspend () const noexcept
 
void return_void () noexcept
 
void trackContext (Context *context)
 
void unhandled_exception ()
 
std::suspend_never yield_value (const QObject *obj)
 
std::suspend_never yield_value (Cutelyst::Context *context)
 

Public Attributes

std::vector< QMetaObject::Connectionconnections
 
std::coroutine_handle< promise_typehandle
 

Detailed Description

Definition at line 38 of file CoroContext.h.