folly::coro::ExtendedCoroutineHandle::PromiseBase

Type-erased base storing the error-handle callback for a coroutine promise.

Synopsis

Declared in <folly/coro/Coroutine.h>

class PromiseBase;

Friends

NameDescription
folly::coro::ExtendedCoroutinePromiseCrtpCRTP base letting a promise expose a more efficient error-resumption path.
folly::coro::ExtendedCoroutineHandleExtended coroutine_handle<void> assuming the handle is a pointer.

Derived Classes

NameDescription
ExtendedCoroutinePromiseCrtp CRTP base letting a promise expose a more efficient error-resumption path.