utils: "parallel" -> "concurrent"
This commit is contained in:
parent
e0fcbd3498
commit
7860c3b365
@ -253,8 +253,8 @@ def coro_maybe(value):
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def void_coros_maybe(values):
|
def void_coros_maybe(values):
|
||||||
''' Ignore elements of the iterable values that are not coroutine
|
''' Ignore elements of the iterable values that are not coroutine
|
||||||
objects. Run all coroutine objects to completion, in parallel
|
objects. Run all coroutine objects to completion, concurrent
|
||||||
to each other. If there were exceptions, re-raise the leftmost
|
with each other. If there were exceptions, raise the leftmost
|
||||||
one (not necessarily chronologically first). Return nothing.
|
one (not necessarily chronologically first). Return nothing.
|
||||||
'''
|
'''
|
||||||
coros = [val for val in values if asyncio.iscoroutine(val)]
|
coros = [val for val in values if asyncio.iscoroutine(val)]
|
||||||
|
Loading…
Reference in New Issue
Block a user