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

Function MakeCancellable

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

Source from the content-addressed store, hash-verified

2125/// This generator is async-reentrant
2126template <typename T>
2127AsyncGenerator<T> MakeCancellable(AsyncGenerator<T> source, StopToken stop_token) {
2128 return CancellableGenerator<T>{std::move(source), std::move(stop_token)};
2129}
2130
2131template <typename T>
2132class DefaultIfEmptyGenerator {

Callers 1

InitFromBlockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected