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

Method WrapperTask

cpp/src/arrow/util/async_util.cc:429–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 state_->task_count++;
428 struct WrapperTask : public Task {
429 WrapperTask(std::unique_ptr<Task> target, std::shared_ptr<State> state)
430 : target(std::move(target)), state(std::move(state)) {}
431 Result<Future<>> operator()() override {
432 ARROW_ASSIGN_OR_RAISE(Future<> inner_fut, (*target)());
433 return inner_fut.Then([state = std::move(state)]() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected