| 118 | /// \brief Wait for an async generator to complete, discarding results. |
| 119 | template <typename T> |
| 120 | Future<> DiscardAllFromAsyncGenerator(AsyncGenerator<T> generator) { |
| 121 | std::function<Status(T)> visitor = [](const T&) { return Status::OK(); }; |
| 122 | return VisitAsyncGenerator(generator, visitor); |
| 123 | } |
| 124 | |
| 125 | /// \brief Collect the results of an async generator into a vector |
| 126 | template <typename T> |
no test coverage detected