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

Method State

cpp/src/arrow/util/async_generator.h:991–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989AsyncGenerator<T> MakeVectorGenerator(std::vector<T> vec) {
990 struct State {
991 explicit State(std::vector<T> vec_) : vec(std::move(vec_)), vec_idx(0) {}
992
993 std::vector<T> vec;
994 std::atomic<std::size_t> vec_idx;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected