![]() |
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
Promise type for non-void task. More...
#include <task.hpp>
Inheritance diagram for mrs_lib::internal::PromiseType< T >:
Collaboration diagram for mrs_lib::internal::PromiseType< T >:Public Member Functions | |
| Task< T > | get_return_object () |
| void | return_value (T &&ret_val) |
| void | unhandled_exception () |
| T | get_value () |
Public Member Functions inherited from mrs_lib::internal::BasePromiseType< PromiseType< T > > | |
| std::suspend_always | initial_suspend () |
| FinalAwaitable | final_suspend () noexcept |
| void | set_continuation (OwningCoroutineHandle<> continuation) |
Promise type for non-void task.
This is responsible for returning value from completed task.