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

Function MakeCancellable

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

Source from the content-addressed store, hash-verified

2020/// This generator is async-reentrant
2021template <typename T>
2022AsyncGenerator<T> MakeCancellable(AsyncGenerator<T> source, StopToken stop_token) {
2023 return CancellableGenerator<T>{std::move(source), std::move(stop_token)};
2024}
2025
2026template <typename T>
2027class DefaultIfEmptyGenerator {

Callers 1

InitFromBlockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected