folly::coro::variant_awaitable::await_ready

Returns whether the active awaitable is ready without suspending.

Synopsis

Declared in <folly/coro/Coroutine.h>

auto
await_ready() noexcept(/* see-below */);

Exception specification

This function is potentially-throwing unless (noexcept(static_cast<A &(*)() noexcept>(nullptr)().await_ready()) && ...).

Return Value

The active alternative's await_ready result.