Struct Task::Promise

Nested Relationships

This struct is a nested type of Template Class Task.

Struct Documentation

struct Promise

Public Functions

inline Task get_return_object()
inline void unhandled_exception() noexcept
inline void return_value(Result res) noexcept
inline std::suspend_always initial_suspend() noexcept
inline FinalAwaiter final_suspend() noexcept
inline Task<void> get_return_object()
inline void unhandled_exception() noexcept
inline void return_void() noexcept
inline std::suspend_always initial_suspend() noexcept
inline Task<void>::FinalAwaiter final_suspend() noexcept

Public Members

std::coroutine_handle continuation
Result result