makeUnorderedAsyncGenerator overloads
Declared in <folly/coro/Collect.h>
Yield the results of a range of awaitables in order of completion.
template<typename InputRange>
AsyncGenerator</* implementation-defined */&&>
makeUnorderedAsyncGenerator(
AsyncScope& scope,
InputRange awaitables);
» more...
Yield the results of a vector of awaitables in order of completion.
template<typename SemiAwaitable>
decltype(makeUnorderedAsyncGenerator(
scope, detail::MoveRange(awaitables)))
makeUnorderedAsyncGenerator(
AsyncScope& scope,
std::vector<SemiAwaitable> awaitables);
» more...
Yield the results of a range of awaitables in order of completion.
template<typename InputRange>
AsyncGenerator</* implementation-defined */&&>
makeUnorderedAsyncGenerator(
CancellableAsyncScope& scope,
InputRange awaitables);
» more...
Yield the results of a vector of awaitables in order of completion.
template<typename SemiAwaitable>
decltype(makeUnorderedAsyncGenerator(
scope, detail::MoveRange(awaitables)))
makeUnorderedAsyncGenerator(
CancellableAsyncScope& scope,
std::vector<SemiAwaitable> awaitables);
» more...
An AsyncGenerator yielding each result as it completes.
| Name | Description |
|---|---|
| scope | The AsyncScope the awaitables are attached to. |
| awaitables | The range of awaitables to run. |