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

Method MappingGenerator

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

Source from the content-addressed store, hash-verified

147class MappingGenerator {
148 public:
149 MappingGenerator(AsyncGenerator<T> source, std::function<Future<V>(const T&)> map)
150 : state_(std::make_shared<State>(std::move(source), std::move(map))) {}
151
152 Future<V> operator()() {
153 auto future = Future<V>::Make();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected