🟨 C++20 coroutine layer over Async (see Await for more details) C++20 coroutine layer over SC::AsyncEventLoop. More...
Enumerations | |
| enum class | SC::AwaitError : uint32_t { Cancelled = 1 , WrongEventLoop , AllocatorAlreadyOpen , AllocatorStorageEmpty , AllocatorReservationEmpty , AllocatorReservationFailed , AllocatorCommitFailed , AllocatorHasLiveAllocations , InvalidTask , TaskNotCompleted , TaskNotStarted , TaskAlreadyStarted , TaskCancellationUnavailable , UnhandledException , SocketSendNoProgress , SocketReceiveIncomplete , SocketReceiveNoProgress , EmptyReceiveBuffer , ReceiveLineBufferExhausted , FileReadNoProgress , OperationUnsupported , InvalidFileHandle , MissingOutputFile , MissingFile , MissingReadResult , InvalidFileSystemOperation , TaskGroupStorageFull , TaskGroupResultStorageTooSmall = 29 , InactiveTask , TaskGroupEmpty , TaskAlreadyAwaited , RegistryStorageFull = 34 , RegistryEmpty = 36 , TaskTimedOut = 38 , InvalidWorkCallback } |
| Stable portable failures owned by Await. More... | |
🟨 C++20 coroutine layer over Async (see Await for more details) C++20 coroutine layer over SC::AsyncEventLoop.
Await is an experimental wrapper that lets coroutine bodies express asynchronous operations with co_await while still returning plain SC::Result values and using caller-provided output objects.
|
strong |
#include <AwaitError.h>
Stable portable failures owned by Await.
Values are append-only.
Results from Async and other libraries retain their original identity.