| 1583 | /// This generator may queue up to max_subscriptions instances of T |
| 1584 | template <typename T> |
| 1585 | AsyncGenerator<T> MakeMergedGenerator(AsyncGenerator<AsyncGenerator<T>> source, |
| 1586 | int max_subscriptions) { |
| 1587 | return MergedGenerator<T>(std::move(source), max_subscriptions); |
| 1588 | } |
| 1589 | |
| 1590 | template <typename T> |
| 1591 | Result<AsyncGenerator<T>> MakeSequencedMergedGenerator( |