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

Function MakeGeneratorStartsWith

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

Source from the content-addressed store, hash-verified

1995/// pull from following_values async-reentrantly.
1996template <typename T>
1997AsyncGenerator<T> MakeGeneratorStartsWith(std::vector<T> initial_values,
1998 AsyncGenerator<T> following_values) {
1999 auto initial_values_vec_gen = MakeVectorGenerator(std::move(initial_values));
2000 auto gen_gen = MakeVectorGenerator<AsyncGenerator<T>>(
2001 {std::move(initial_values_vec_gen), std::move(following_values)});
2002 return MakeConcatenatedGenerator(std::move(gen_gen));
2003}
2004
2005template <typename T>
2006struct CancellableGenerator {

Callers 1

InitFromBlockMethod · 0.85

Calls 2

MakeVectorGeneratorFunction · 0.85

Tested by

no test coverage detected