Constructs the awaitable from an executor and an inner awaitable.
Declared in <folly/coro/ViaIfAsync.h>
explicit
ViaIfAsyncAwaitable(
folly::Executor::KeepAlive<> executor,
Awaitable&& awaitable) noexcept(/* see-below */);
This function is potentially-throwing unless std::is_nothrow_move_constructible<Awaitable>::value.
| Name | Description |
|---|---|
| executor | the executor to resume on |
| awaitable | the inner awaitable |