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

Method Next

cpp/src/arrow/util/async_generator_test.cc:1253–1259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1251
1252struct SlowEmptyIterator {
1253 Result<TestInt> Next() {
1254 if (called_) {
1255 return Status::Invalid("Should not have been called twice");
1256 }
1257 SleepFor(0.1);
1258 return IterationTraits<TestInt>::End();
1259 }
1260
1261 private:
1262 bool called_ = false;

Callers

nothing calls this directly

Calls 3

SleepForFunction · 0.85
EndFunction · 0.70
InvalidFunction · 0.50

Tested by

no test coverage detected