MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

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

Source from the content-addressed store, hash-verified

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
681 std::function<Result<Future<>>()> task;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected