|
ThreadSchedule 1.0.0
Modern C++ thread management library
|
Lazy single-value coroutine (task<T>) and blocking bridge (sync_wait). More...
Go to the source code of this file.
Lazy single-value coroutine (task<T>) and blocking bridge (sync_wait).
A task<T> represents a lazy coroutine that produces exactly one value (or throws). It does not begin execution until it is co_awaited by another coroutine or passed to sync_wait().
Requires C++20 coroutine support.
Definition in file task.hpp.