struct
#include <nCine/Base/Task.h>
task_promise
Public functions
- auto value() -> auto
- auto initial_suspend() -> auto
- auto final_suspend() -> auto noexcept
- void return_value(T t)
- auto get_return_object() -> Task<T>
- void unhandled_exception()
- void rethrow_if_unhandled_exception()
Public variables
-
std::
optional<T> m_value -
std::coroutine_handle<promise_
type> m_inner_handler -
std::coroutine_handle<promise_
type> m_outer_handler