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

Method TaskWithPriority

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

Source from the content-addressed store, hash-verified

674class TaskWithPriority : public AsyncTaskScheduler::Task {
675 public:
676 TaskWithPriority(std::function<Result<Future<>>()> task, int priority)
677 : task(std::move(task)), priority(priority) {}
678 Result<Future<>> operator()() override { return task(); }
679 std::string_view name() const override { return kDummyName; }
680

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected