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

Function MakeEmptyGenerator

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

Source from the content-addressed store, hash-verified

2066/// This generator is async-reentrant.
2067template <typename T>
2068std::function<Future<T>()> MakeEmptyGenerator() {
2069 return []() -> Future<T> { return AsyncGeneratorEnd<T>(); };
2070}
2071
2072/// \brief Make a generator that always fails with a given error
2073///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected