Searched refs:ensure_future (Results 1 – 24 of 24) sorted by relevance
/third_party/mesa3d/bin/pick/ |
D | ui.py | 54 asyncio.ensure_future(self.ui.update()) 94 asyncio.ensure_future(self.apply()) 96 asyncio.ensure_future(self.denominate()) 98 asyncio.ensure_future(self.backport()) 145 asyncio.ensure_future(self.update()) 218 urwid.connect_signal(ok_btn, 'click', lambda _: asyncio.ensure_future(apply_cb(q))) 249 … can_btn, 'click', lambda _: asyncio.ensure_future(commit.commit.abort_cherry(self, err))) 254 ok_btn, 'click', lambda _: asyncio.ensure_future(commit.commit.resolve(self)))
|
D | core.py | 358 tasks.append(asyncio.ensure_future( 387 asyncio.ensure_future(commit_state(message=f'Update to {commits[0].sha}'))
|
/third_party/python/Lib/asyncio/ |
D | tasks.py | 382 fs = {ensure_future(f, loop=loop) for f in fs} 411 fut = ensure_future(fut, loop=loop) 426 fut = ensure_future(fut, loop=loop) 549 todo = {ensure_future(f, loop=loop) for f in set(fs)} 610 def ensure_future(coro_or_future, *, loop=None): function 870 futures._chain_future(ensure_future(coro, loop=loop), future)
|
D | windows_events.py | 578 tasks.ensure_future(coro, loop=self._loop)
|
D | base_events.py | 620 future = tasks.ensure_future(future, loop=self)
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_tasks.py | 179 task = asyncio.ensure_future(test(), loop=self.loop) 205 t = asyncio.ensure_future(notmuch(), loop=self.loop) 215 asyncio.ensure_future(a) 219 return asyncio.ensure_future(notmuch()) 230 t = asyncio.ensure_future(notmuch()) 242 t = asyncio.ensure_future(notmuch(), loop=self.loop) 252 asyncio.ensure_future(a) 256 return asyncio.ensure_future(notmuch()) 267 t = asyncio.ensure_future(notmuch()) 278 f = asyncio.ensure_future(f_orig) [all …]
|
D | test_pep492.py | 193 T = asyncio.ensure_future(foo(), loop=self.loop)
|
D | test_windows_events.py | 92 f = asyncio.ensure_future(self.loop.sock_recv(b, 100), loop=self.loop)
|
D | test_base_events.py | 590 fut = asyncio.ensure_future(zero_error_coro(), loop=self.loop) 797 task = asyncio.ensure_future(coro, loop=loop) 1938 asyncio.ensure_future(stop_loop_coro(self.loop), loop=self.loop)
|
D | test_futures.py | 98 g = asyncio.ensure_future(f)
|
/third_party/python/Doc/library/ |
D | asyncio-future.rst | 34 .. function:: ensure_future(obj, *, loop=None) 45 ``ensure_future()``.
|
D | asyncio-task.rst | 263 Python 3.7, the low-level :func:`asyncio.ensure_future` function 274 task = asyncio.ensure_future(coro()) 838 :func:`ensure_future` functions. Manual instantiation of Tasks
|
/third_party/python/Lib/unittest/test/ |
D | test_async_case.py | 305 fut = asyncio.ensure_future(coro())
|
/third_party/python/Lib/test/ |
D | test_contextlib_async.py | 388 f = asyncio.ensure_future(coro)
|
D | test_asyncgen.py | 1229 fut = asyncio.ensure_future(asyncio.sleep(delay), 1319 fut = asyncio.ensure_future(asyncio.sleep(delay),
|
/third_party/python/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.
|
D | 3.10.0b1.rst | 1219 :func:`~asyncio.ensure_future`, :func:`~asyncio.wrap_future`,
|
D | 3.8.0a1.rst | 4800 Optimize asyncio.ensure_future() by reordering if checks: 1.17x faster.
|
/third_party/python/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
|
D | 3.10.rst | 1695 *loop* argument is passed: :func:`~asyncio.ensure_future`,
|
/third_party/python/Misc/ |
D | HISTORY | 727 - asyncio: async() function is deprecated in favour of ensure_future().
|