Searched refs:FIRST_EXCEPTION (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/concurrent/futures/ |
H A D | __init__.py | 9 FIRST_EXCEPTION, 22 'FIRST_EXCEPTION',
|
H A D | _base.py | 13 FIRST_EXCEPTION = 'FIRST_EXCEPTION' variable 112 """Used by wait(return_when=FIRST_EXCEPTION and ALL_COMPLETED).""" 164 if return_when == FIRST_EXCEPTION: 276 FIRST_EXCEPTION - Return when any future finishes by raising an 295 elif (return_when == FIRST_EXCEPTION) and done:
|
/third_party/python/Lib/asyncio/ |
H A D | tasks.py | 5 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED', 385 FIRST_EXCEPTION = concurrent.futures.FIRST_EXCEPTION variable 409 if return_when not in (FIRST_COMPLETED, FIRST_EXCEPTION, ALL_COMPLETED): 514 return_when == FIRST_EXCEPTION and (not f.cancelled() and
|
/third_party/python/Lib/test/ |
H A D | test_concurrent_futures.py | 647 return_when=futures.FIRST_EXCEPTION) 661 return_when=futures.FIRST_EXCEPTION) 673 return_when=futures.FIRST_EXCEPTION)
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_tasks.py | 1213 asyncio.wait([b, a], return_when=asyncio.FIRST_EXCEPTION)) 1243 task = asyncio.wait([b, a], return_when=asyncio.FIRST_EXCEPTION)
|
Completed in 9 milliseconds