drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
drogon::Task< T >::promise_type Struct Reference

Public Member Functions

Task< T > get_return_object ()
std::suspend_always initial_suspend ()
void return_value (const T &v)
void return_value (T &&v)
auto final_suspend () noexcept
void unhandled_exception ()
T && result () &&
T & result () &
void setContinuation (std::coroutine_handle<> handle)

Public Attributes

std::optional< T > value
std::exception_ptr exception_
std::coroutine_handle continuation_ {std::noop_coroutine()}

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