|
Uni20
Asynchronous tensor and runtime library.
|
Concept for awaitables that support shared promise-neutral ownership. More...
#include <async_task_promise.hpp>
Concept for awaitables that support shared promise-neutral ownership.
This concept is satisfied if:
num_awaiters() method returning an integer countawait_suspend(TaskFactory)await_suspend is voidall(...) that must split ownership across multiple sub-awaitables. num_awaiters() runs before ownership transfer and need not be noexcept; await_suspend(TaskFactory) runs afterward and must be.