[
https://issues.apache.org/jira/browse/ARROW-10183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209110#comment-17209110
]
Antoine Pitrou commented on ARROW-10183:
----------------------------------------
Just for the record, we already have a {{AsCompleted}} iterator. We could have
a variant that takes an iterator of futures rather than a vector of futures.
> Create a ForEach library function that runs on an iterator of futures
> ---------------------------------------------------------------------
>
> Key: ARROW-10183
> URL: https://issues.apache.org/jira/browse/ARROW-10183
> Project: Apache Arrow
> Issue Type: Sub-task
> Components: C++
> Reporter: Weston Pace
> Priority: Major
>
> This method should take in an iterator of futures and a callback and pull an
> item off the iterator, "await" it, run the callback on it, and then fetch the
> next item from the iterator.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)