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

Method ExpensiveTask

cpp/src/arrow/util/async_util_test.cc:448–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 Future<> task = Future<>::Make();
447 struct ExpensiveTask : AsyncTaskScheduler::Task {
448 ExpensiveTask(bool* task_submitted, Future<> task)
449 : task_submitted(task_submitted), task(std::move(task)) {}
450 Result<Future<>> operator()() override {
451 *task_submitted = true;
452 return task;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected