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

Function AllFinished

cpp/src/arrow/util/future.cc:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267Future<> AllFinished(const std::vector<Future<>>& futures) {
268 return All(futures).Then([](const std::vector<Result<internal::Empty>>& results) {
269 for (const auto& res : results) {
270 if (!res.ok()) {
271 return res.status();
272 }
273 }
274 return Status::OK();
275 });
276}
277
278} // namespace arrow

Calls 5

ThenMethod · 0.80
AllFunction · 0.70
OKFunction · 0.50
okMethod · 0.45
statusMethod · 0.45