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

Method SimpleTask

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

Source from the content-addressed store, hash-verified

145 template <typename Callable>
146 struct SimpleTask : public Task {
147 SimpleTask(Callable callable, std::string_view name)
148 : callable(std::move(callable)), name_(name) {}
149 SimpleTask(Callable callable, std::string name)
150 : callable(std::move(callable)), owned_name_(std::move(name)) {
151 name_ = *owned_name_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected