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

Method State

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

Source from the content-addressed store, hash-verified

344
345 struct State {
346 State(AsyncGenerator<T> source, ComesAfter compare, IsNext is_next, T initial_value)
347 : source(std::move(source)),
348 is_next(std::move(is_next)),
349 previous_value(std::move(initial_value)),
350 waiting_future(),
351 queue(WrappedComesAfter{compare}),
352 finished(false),
353 mutex() {}
354
355 AsyncGenerator<T> source;
356 IsNext is_next;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected