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

Method operator()

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

Source from the content-addressed store, hash-verified

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

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