Searched refs:FIRST_COMPLETED (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/concurrent/futures/ |
H A D | __init__.py | 8 from concurrent.futures._base import (FIRST_COMPLETED, namespace 21 'FIRST_COMPLETED',
|
H A D | _base.py | 12 FIRST_COMPLETED = 'FIRST_COMPLETED' variable 97 """Used by wait(return_when=FIRST_COMPLETED).""" 158 elif return_when == FIRST_COMPLETED: 274 FIRST_COMPLETED - Return when any future finishes or is 293 if (return_when == FIRST_COMPLETED) and done:
|
/third_party/python/Lib/asyncio/ |
H A D | tasks.py | 5 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED', 384 FIRST_COMPLETED = concurrent.futures.FIRST_COMPLETED variable 409 if return_when not in (FIRST_COMPLETED, FIRST_EXCEPTION, ALL_COMPLETED): 513 return_when == FIRST_COMPLETED or
|
/third_party/python/Lib/test/ |
H A D | test_concurrent_futures.py | 623 return_when=futures.FIRST_COMPLETED) 633 return_when=futures.FIRST_COMPLETED)
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_tasks.py | 1157 asyncio.wait([b, a], return_when=asyncio.FIRST_COMPLETED)) 1186 asyncio.wait([b, a], return_when=asyncio.FIRST_COMPLETED))
|
Completed in 9 milliseconds