Callable type that awaits an Async wrapper via tag_invoke.

Synopsis

Declared in <folly/fibers/async/Async.h>

struct await_fn;

Member Functions

Name

Description

operator()

Awaits async and returns its result.

Non-Member Functions

Name

Description

tag_invoke

Awaits the wrapper, checking that the caller runs on a fiber.

tag_invoke

Awaits the wrapper and returns its stored value.

Created with MrDocs