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

Method State

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

Source from the content-addressed store, hash-verified

169 private:
170 struct State {
171 State(AsyncGenerator<T> source, std::function<Future<V>(const T&)> map)
172 : source(std::move(source)),
173 map(std::move(map)),
174 waiting_jobs(),
175 mutex(),
176 finished(false) {}
177
178 void Purge() {
179 // This might be called by an original callback (if the source iterator fails or

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected