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

Method ClearQueue

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

Source from the content-addressed store, hash-verified

1764 should_shutdown(false) {}
1765
1766 void ClearQueue() {
1767 while (!queue.empty()) {
1768 queue.pop();
1769 }
1770 }
1771
1772 bool TaskIsRunning() const { return task_finished.is_valid(); }
1773

Callers 1

WorkerTaskMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected