Home
last modified time | relevance | path

Searched refs:FIRST_EXCEPTION (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/concurrent/futures/
H A D__init__.py9 FIRST_EXCEPTION,
22 'FIRST_EXCEPTION',
H A D_base.py13 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 Dtasks.py5 '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 Dtest_concurrent_futures.py647 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 Dtest_tasks.py1213 asyncio.wait([b, a], return_when=asyncio.FIRST_EXCEPTION))
1243 task = asyncio.wait([b, a], return_when=asyncio.FIRST_EXCEPTION)

Completed in 15 milliseconds