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

Method operator()

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

Source from the content-addressed store, hash-verified

87 struct LoopBody {
88 struct Callback {
89 Result<ControlFlow<>> operator()(const T& next) {
90 if (IsIterationEnd(next)) {
91 return Break();
92 } else {
93 auto visited = visitor(next);
94 if (visited.ok()) {
95 return Continue();
96 } else {
97 return visited;
98 }
99 }
100 }
101
102 Visitor visitor;
103 };

Callers

nothing calls this directly

Calls 4

IsIterationEndFunction · 0.85
BreakFunction · 0.85
ContinueClass · 0.85
okMethod · 0.45

Tested by

no test coverage detected