MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

cpp/src/arrow/util/async_generator_test.cc:293–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 ManualGenerator() : times_polled_(std::make_shared<uint32_t>()) {}
292
293 Future<T> operator()() {
294 (*times_polled_)++;
295 return source_();
296 }
297
298 uint32_t times_polled() const { return *times_polled_; }
299 typename PushGenerator<T>::Producer producer() { return source_.producer(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected