Extended coroutine_handle<void> assuming the handle is a pointer.
Declared in <folly/coro/Coroutine.h>
class ExtendedCoroutineHandle;
| Name | Description |
|---|---|
PromiseBase | Type-erased base storing the error-handle callback for a coroutine promise. |
| Name | Description |
|---|---|
ErrorHandle | A handle to resume paired with its active async stack frame. |
| Name | Description |
|---|---|
ExtendedCoroutineHandle [constructor] | Constructors |
destroy | Destroys the referenced coroutine. |
getErrorHandle | Returns the handle and stack frame to resume with the given error. |
getHandle | Returns the underlying basic coroutine handle. |
resume | Resumes the referenced coroutine. |
operator bool | Returns whether this handle refers to a coroutine. |
| Name | Description |
|---|---|
PrivateTag | Passkey guarding access to getPromiseBase and the extended-handle protocol. |
| Name | Description |
|---|---|
folly::coro::ExtendedCoroutinePromiseCrtp | CRTP base letting a promise expose a more efficient error-resumption path. |