Class VoidTask

Inheritance Relationships

Base Type

Class Documentation

class VoidTask : public exathread::Task

Coroutine return type for void-returning functions.

Note

Set this as your submitted function’s return type if it returns void and wants to use yield operations

Public Types

using promise_type = details::VoidPromise

Public Functions

inline explicit VoidTask(std::coroutine_handle<details::Promise> h)
inline VoidTask(Task &&t)