You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/09/13 23:00:04 UTC
[GitHub] [arrow] lidavidm commented on a change in pull request #11145: ARROW-13982: [C++] Don't hang if a fragment is filtered out
lidavidm commented on a change in pull request #11145:
URL: https://github.com/apache/arrow/pull/11145#discussion_r707776161
##########
File path: cpp/src/arrow/util/async_generator.h
##########
@@ -1611,4 +1611,48 @@ AsyncGenerator<T> MakeCancellable(AsyncGenerator<T> source, StopToken stop_token
return CancellableGenerator<T>{std::move(source), std::move(stop_token)};
}
+template <typename T>
+class OrGenerator {
Review comment:
Ah, I was trying to come up with a good name. I'll change to something along those lines. (I was looking at Rust's Option::or which is a little too terse in this context.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org