HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
v1::task< T, DestroyFrame >::promise_type Struct Reference

Public Member Functions

template<std::convertible_to< value_type > NewValue>
void return_value (NewValue &&new_value) noexcept
 
void unhandled_exception () noexcept
 
std::suspend_always final_suspend () noexcept
 
task get_return_object () noexcept
 
std::suspend_never initial_suspend () noexcept
 Before we enter the coroutine, allow the caller to set the callback.
 
template<convertible_to_awaitable RHS>
decltype(auto) await_transform (RHS &&rhs)
 

Data Fields

notifier_type notifier
 
std::optional< value_type > value = {}
 
std::exception_ptr exception = nullptr
 

Member Function Documentation

◆ initial_suspend()

template<typename T = void, bool DestroyFrame = false>
std::suspend_never v1::task< T, DestroyFrame >::promise_type::initial_suspend ( )
inlinenoexcept

Before we enter the coroutine, allow the caller to set the callback.


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