[Python-ideas] Re: Adding a `wait_in_order` function to concurrent.futures

2021-06-26 Thread santiago . basulto
Hey David, great to find you here!! I really like what you're proposing. I could make it a generator instead of returning a list. I returned a list because wait returns sets and I thought I would keep returning collections. I'll play around and send a new proposal. __

[Python-ideas] Adding a `wait_in_order` function to concurrent.futures

2021-06-26 Thread santiago . basulto
Hello list, it's my first email here, so let me know if this is in any way out of order. I've been working a lot with concurrent.futures lately. I find both `wait` and `as_completed` very useful, but something I'm usually lacking is a `wait` version where the order of the futures is preserved.