Home
last modified time | relevance | path

Searched refs:ensure_future (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/bin/pick/
Dui.py55 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)))
Dcore.py350 tasks.append(asyncio.ensure_future(
379 asyncio.ensure_future(commit_state(message=f'Update to {commits[0].sha}'))
/external/python/cpython3/Lib/asyncio/
Dtasks.py411 fs = {ensure_future(f, loop=loop) for f in fs}
445 fut = ensure_future(fut, loop=loop)
462 fut = ensure_future(fut, loop=loop)
589 todo = {ensure_future(f, loop=loop) for f in set(fs)}
656 def ensure_future(coro_or_future, *, loop=None): function
674 return ensure_future(_wrap_awaitable(coro_or_future), loop=loop)
822 fut = ensure_future(arg, loop=loop)
876 inner = ensure_future(arg, loop=loop)
920 futures._chain_future(ensure_future(coro, loop=loop), future)
Dwindows_events.py573 tasks.ensure_future(coro, loop=self._loop)
Dbase_events.py621 future = tasks.ensure_future(future, loop=self)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py179 task = asyncio.ensure_future(test(), loop=self.loop)
207 t = asyncio.ensure_future(notmuch(), loop=self.loop)
215 t = asyncio.ensure_future(notmuch(), loop=loop)
224 f = asyncio.ensure_future(f_orig)
234 f = asyncio.ensure_future(f_orig, loop=loop)
238 f = asyncio.ensure_future(f_orig, loop=self.loop)
245 t = asyncio.ensure_future(t_orig)
255 t = asyncio.ensure_future(t_orig, loop=loop)
259 t = asyncio.ensure_future(t_orig, loop=self.loop)
276 fut = asyncio.ensure_future(Aw(coro()), loop=loop)
[all …]
Dtest_pep492.py195 T = asyncio.ensure_future(foo(), loop=self.loop)
Dtest_windows_events.py92 f = asyncio.ensure_future(self.loop.sock_recv(b, 100), loop=self.loop)
Dtest_base_events.py589 fut = asyncio.ensure_future(zero_error_coro(), loop=self.loop)
796 task = asyncio.ensure_future(coro, loop=loop)
1929 asyncio.ensure_future(stop_loop_coro(self.loop), loop=self.loop)
Dtest_futures.py98 g = asyncio.ensure_future(f)
Dtest_locks.py578 waiter = asyncio.ensure_future(wait_on_cond(), loop=self.loop)
/external/python/cpython3/Doc/library/
Dasyncio-future.rst34 .. function:: ensure_future(obj, \*, loop=None)
45 ``ensure_future()``.
Dasyncio-task.rst263 Python 3.7, the low-level :func:`asyncio.ensure_future` function
274 task = asyncio.ensure_future(coro())
764 :func:`ensure_future` functions. Manual instantiation of Tasks
/external/python/cpython3/Lib/test/
Dtest_asyncgen.py843 fut = asyncio.ensure_future(asyncio.sleep(delay),
933 fut = asyncio.ensure_future(asyncio.sleep(delay),
Dtest_contextlib_async.py288 f = asyncio.ensure_future(coro)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b5.rst337 Optimize asyncio.ensure_future() by reordering if checks: 1.17x faster.
D3.5.0b1.rst666 asyncio: async() function is deprecated in favour of ensure_future().
D3.5.1rc1.rst913 asyncio: ensure_future() now accepts awaitable objects.
D3.8.0a1.rst4800 Optimize asyncio.ensure_future() by reordering if checks: 1.17x faster.
/external/python/cpython3/Doc/whatsnew/
D3.5.rst804 :func:`~asyncio.ensure_future`.
824 * The :func:`~asyncio.ensure_future` function and all functions that
2296 :func:`~asyncio.ensure_future`.
D3.6.rst826 * The :func:`~asyncio.ensure_future` function and all functions that
/external/python/cpython3/Misc/
DHISTORY727 - asyncio: async() function is deprecated in favour of ensure_future().