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

Method MakeFinished

cpp/src/arrow/util/future.h:409–413  ·  view source on GitHub ↗

\brief Producer API: instantiate a finished Future

Source from the content-addressed store, hash-verified

407
408 /// \brief Producer API: instantiate a finished Future
409 static Future<ValueType> MakeFinished(Result<ValueType> res) {
410 Future<ValueType> fut;
411 fut.InitializeFromResult(std::move(res));
412 return fut;
413 }
414
415 /// \brief Make a finished Future<> with the provided Status.
416 template <typename E = ValueType, typename = typename std::enable_if<

Callers

nothing calls this directly

Calls 3

ToResultFunction · 0.85
InitializeFromResultMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected