pitrou commented on a change in pull request #9714:
URL: https://github.com/apache/arrow/pull/9714#discussion_r595140538



##########
File path: cpp/src/arrow/util/async_generator.h
##########
@@ -336,6 +345,68 @@ class ReadaheadGenerator {
   std::queue<Future<T>> readahead_queue_;
 };
 
+template <typename T>
+class PushGenerator {

Review comment:
       Right. The use case I'm thinking about is async `GetFileInfo` for 
networked filesystems (such as S3). The aim is to cover latencies, but no 
significant CPU or RAM consumption should be involved. Also, in this use case, 
the producer would potentially run on multiple threads.
   
   I'll add a comment.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to