Template Class ValueTask
Defined in File exathread.hpp
Inheritance Relationships
Base Type
public exathread::Task
(Class Task)
Class Documentation
-
template<typename T>
class ValueTask : public exathread::Task Coroutine return type for value-returning functions.
Note
Set this as your submitted function’s return type if it returns something other than
void
and wants to use yield operations- Template Parameters:
T – The return type of your function
Public Types
-
using promise_type = details::ValuePromise<T>
Public Functions
-
inline ValueTask(Task &&t)