Async‐stack‐aware awaiter that reschedules its inner awaiter onto an executor.
Synopsis
Declared in <folly/coro/ViaIfAsync.h>
template<typename Awaitable>
class StackAwareViaIfAsyncAwaiter;
Member Functions
Name |
Description |
|
Constructs the awaiter from an executor and an inner awaitable. |
Reports whether the inner awaiter is already ready. |
|
Retrieves the inner awaiter's result and tears down the via coroutine. |
|
Retrieves the inner result as a result and tears down the coroutine. |
|
Retrieves the inner awaiter's result as a Try and tears down the coroutine. |
|
Suspends the awaiting coroutine, rescheduling resumption on the executor. |
Created with MrDocs