[Python-ideas] Implement `Executor.map_as_completed`
Ram Rachum
ram.rachum at gmail.com
Sun May 5 17:29:36 CEST 2013
I suggest a combination of `futures.as_completed` and
`futures.Executor.map`. I think it should be a
method `futures.Executor.map_as_completed`. It'll be the same as `.map`,
but yield the results according to the order of completion.
What do you think?
(Background: This Stack Overflow question<http://stackoverflow.com/questions/16276423/pythons-concurrent-futures-iterate-on-futures-according-to-order-of-completi/>
.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130505/ca2df9c7/attachment.html>
More information about the Python-ideas
mailing list