[docs] [issue27589] asyncio doc: issue in as_completed() doc
Guido van Rossum
report at bugs.python.org
Tue Nov 8 11:12:10 EST 2016
Guido van Rossum added the comment:
However, in general you should use a different pattern. Wrap each future in
a coroutine that does whatever you want to do to the first one ready and
maybe cancel the others. Then gather() all coroutines with the flag that
keeps errors.
--Guido (mobile)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27589>
_______________________________________
More information about the docs
mailing list