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

Method State

cpp/src/arrow/util/async_util.h:385–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 std::string_view name) {
384 struct State {
385 State(std::function<Future<T>()> generator, std::function<Status(const T&)> visitor,
386 std::unique_ptr<AsyncTaskGroup> task_group, std::string_view name)
387 : generator(std::move(generator)),
388 visitor(std::move(visitor)),
389 task_group(std::move(task_group)),
390 name(name) {}
391 std::function<Future<T>()> generator;
392 std::function<Status(const T&)> visitor;
393 std::unique_ptr<AsyncTaskGroup> task_group;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected