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

Method SetResult

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

Source from the content-addressed store, hash-verified

625 Result<ValueType>* GetResult() const { return impl_->CastResult<ValueType>(); }
626
627 void SetResult(Result<ValueType> res) {
628 impl_->result_ = {new Result<ValueType>(std::move(res)),
629 [](void* p) { delete static_cast<Result<ValueType>*>(p); }};
630 }
631
632 void DoMarkFinished(Result<ValueType> res) {
633 SetResult(std::move(res));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected