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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]