Synopsis

Declared in <folly/result/coro.h>

auto
co_viaIfAsync(
    ExecutorKeepAlive<Executor> const&,
    or_unwind<error_or_stopped> r) noexcept;
Note

This function is a hidden friend of or_unwind<error_or_stopped>, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Parameters

Name

Description

r

Owning awaitable for or_unwind(stopped_result).

Created with MrDocs