| 46 | |
| 47 | template <typename T> |
| 48 | AsyncGenerator<T> SlowdownABit(AsyncGenerator<T> source) { |
| 49 | return MakeMappedGenerator(std::move(source), [](const T& res) { |
| 50 | return SleepABitAsync().Then([res]() { return res; }); |
| 51 | }); |
| 52 | } |
| 53 | |
| 54 | template <typename T> |
| 55 | class TrackingGenerator { |
no test coverage detected