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

Method State

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

Source from the content-addressed store, hash-verified

1755
1756 struct State {
1757 State(internal::Executor* io_executor, Iterator<T> it, int max_q, int q_restart)
1758 : io_executor(io_executor),
1759 max_q(max_q),
1760 q_restart(q_restart),
1761 it(std::move(it)),
1762 reading(false),
1763 finished(false),
1764 should_shutdown(false) {}
1765
1766 void ClearQueue() {
1767 while (!queue.empty()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected