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

Function MakeGeneratorStartsWith

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

Source from the content-addressed store, hash-verified

2100/// pull from following_values async-reentrantly.
2101template <typename T>
2102AsyncGenerator<T> MakeGeneratorStartsWith(std::vector<T> initial_values,
2103 AsyncGenerator<T> following_values) {
2104 auto initial_values_vec_gen = MakeVectorGenerator(std::move(initial_values));
2105 auto gen_gen = MakeVectorGenerator<AsyncGenerator<T>>(
2106 {std::move(initial_values_vec_gen), std::move(following_values)});
2107 return MakeConcatenatedGenerator(std::move(gen_gen));
2108}
2109
2110template <typename T>
2111struct CancellableGenerator {

Callers 1

InitFromBlockMethod · 0.85

Calls 2

MakeVectorGeneratorFunction · 0.85

Tested by

no test coverage detected