MCPcopy Create free account
hub / github.com/apache/arrow / MakeFlatMappedGenerator

Function MakeFlatMappedGenerator

cpp/src/arrow/util/async_generator.h:291–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 typename Mapped = detail::result_of_t<MapFn(const T&)>,
290 typename V = typename EnsureFuture<Mapped>::type::ValueType>
291AsyncGenerator<T> MakeFlatMappedGenerator(AsyncGenerator<T> source_generator, MapFn map) {
292 return MakeConcatenatedGenerator(
293 MakeMappedGenerator(std::move(source_generator), std::move(map)));
294}
295
296/// \see MakeSequencingGenerator
297template <typename T, typename ComesAfter, typename IsNext>

Callers 1

Calls 2

MakeMappedGeneratorFunction · 0.85

Tested by

no test coverage detected