Searched refs:ensure_future (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 361 fs = {ensure_future(f, loop=loop) for f in set(fs)} 391 fut = ensure_future(fut, loop=loop) 403 fut = ensure_future(fut, loop=loop) 509 todo = {ensure_future(f, loop=loop) for f in set(fs)} 573 def ensure_future(coro_or_future, *, loop=None): function 590 return ensure_future(_wrap_awaitable(coro_or_future), loop=loop) 719 fut = ensure_future(arg, loop=loop) 769 inner = ensure_future(arg, loop=loop) 807 futures._chain_future(ensure_future(coro, loop=loop), future)
|
D | windows_events.py | 513 tasks.ensure_future(coro, loop=self._loop)
|
D | base_events.py | 563 future = tasks.ensure_future(future, loop=self)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 131 task = asyncio.ensure_future(test(), loop=self.loop) 159 t = asyncio.ensure_future(notmuch(), loop=self.loop) 167 t = asyncio.ensure_future(notmuch(), loop=loop) 176 f = asyncio.ensure_future(f_orig) 186 f = asyncio.ensure_future(f_orig, loop=loop) 190 f = asyncio.ensure_future(f_orig, loop=self.loop) 198 t = asyncio.ensure_future(t_orig) 208 t = asyncio.ensure_future(t_orig, loop=loop) 212 t = asyncio.ensure_future(t_orig, loop=self.loop) 228 fut = asyncio.ensure_future(Aw(coro()), loop=loop) [all …]
|
D | test_pep492.py | 190 T = asyncio.ensure_future(foo(), loop=self.loop)
|
D | test_windows_events.py | 42 f = asyncio.ensure_future(self.loop.sock_recv(b, 100), loop=self.loop)
|
D | test_base_events.py | 596 fut = asyncio.ensure_future(zero_error_coro(), loop=self.loop) 805 task = asyncio.ensure_future(coro, loop=loop) 1853 asyncio.ensure_future(stop_loop_coro(self.loop), loop=self.loop)
|
D | test_futures.py | 94 g = asyncio.ensure_future(f)
|
D | test_locks.py | 588 waiter = asyncio.ensure_future(wait_on_cond(), loop=self.loop)
|
/external/python/cpython3/Lib/test/ |
D | test_asyncgen.py | 777 fut = asyncio.ensure_future(asyncio.sleep(delay, loop=self.loop), 867 fut = asyncio.ensure_future(asyncio.sleep(delay, loop=self.loop),
|
D | test_contextlib_async.py | 266 f = asyncio.ensure_future(coro)
|
/external/python/cpython3/Doc/library/ |
D | asyncio-task.rst | 246 Python 3.7, the low-level :func:`asyncio.ensure_future` function 257 task = asyncio.ensure_future(coro()) 660 :func:`ensure_future` functions. Manual instantiation of Tasks
|
D | asyncio-future.rst | 29 .. function:: ensure_future(obj, \*, loop=None)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b5.rst | 337 Optimize asyncio.ensure_future() by reordering if checks: 1.17x faster.
|
D | 3.5.0b1.rst | 666 asyncio: async() function is deprecated in favour of ensure_future().
|
D | 3.5.1rc1.rst | 913 asyncio: ensure_future() now accepts awaitable objects.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 804 :func:`~asyncio.ensure_future`. 824 * The :func:`~asyncio.ensure_future` function and all functions that 2296 :func:`~asyncio.ensure_future`.
|
D | 3.6.rst | 826 * The :func:`~asyncio.ensure_future` function and all functions that
|
/external/python/cpython3/Misc/ |
D | HISTORY | 727 - asyncio: async() function is deprecated in favour of ensure_future().
|