value_or_fatal<Task<T>, Policy> wraps a task to guarantee value‐only completion.
Synopsis
Declared in <folly/coro/ValueOrFatal.h>
template<
typename Inner,
auto Policy>
class [[nodiscard]] value_or_fatal final
Type Aliases
Name |
Description |
|
Marker tag identifying this type as a value‐only awaitable. |
Protected Using Declarations
Name |
Return Value
|
Note
|
The return value should not be discarded. |
Created with MrDocs