westonpace commented on pull request #9941: URL: https://github.com/apache/arrow/pull/9941#issuecomment-815299660
First, I was not familiar with `libunifex`, just scanning through it looks pretty cool. Their AsyncStream looks to be pretty compatible with AsyncGenerator so maybe we can borrow some ideas. I'll have to read through in more detail later. Second, yes, I had the same thought about the stop token. I'll add a note to ARROW-11875. Third, I hadn't thought of the serial executor as a nursery but you may be on to something. For example, off the top of my head you could do something like... ``` Future<T> AsyncBind(std::function<Future<T>(S*)>, std::shared_ptr<S>) ``` I'll make a JIRA for it. ...it's not exactly a nursery but similar. There is also the `oox_var` concept mentioned in ARROW-7001 's JIRA comments which is more of a classic nursery (but a bit more complicated). -- 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]
