Home
last modified time | relevance | path

Searched refs:call_later (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dtasks.py400 timeout_handle = loop.call_later(timeout, _release_waiter, waiter)
437 timeout_handle = loop.call_later(timeout, _release_waiter, waiter)
538 timeout_handle = loop.call_later(timeout, _on_timeout)
564 h = loop.call_later(delay,
Devents.py264 return self.call_later(0, callback, *args)
266 def call_later(self, delay, callback, *args): member in AbstractEventLoop
Dsslproto.py605 self._loop.call_later(self._ssl_handshake_timeout,
Dselector_events.py177 self.call_later(constants.ACCEPT_RETRY_DELAY,
Dbase_events.py640 def call_later(self, delay, callback, *args, context=None): member in BaseEventLoop
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py232 h = self.loop.call_later(10.0, cb)
244 self.loop.call_later(-1, cb, 'a')
245 self.loop.call_later(-2, cb, 'b')
279 loop.call_later(60, cb)
284 loop.call_later(60, cb)
415 self.loop.call_later(3000, cb)
422 h = self.loop.call_later(3600, cb)
428 h = self.loop.call_later(100, cb)
458 self.loop.call_later(3600, cb)
463 h = self.loop.call_later(3600, cb)
[all …]
Dtest_queues.py198 loop.call_later(0.01, q.put_nowait, 1)
337 loop.call_later(0.01, q.get_nowait)
Dtest_tasks.py824 loop.call_later(0.1, fut.set_result, "ok")
1374 orig_call_later = loop.call_later
1376 def call_later(delay, callback, *args): function
1381 loop.call_later = call_later
1408 loop.call_later(0.1, sleeper.cancel)
2599 self.loop.call_later(0.1, fut.set_result, 1)
Dtest_events.py290 self.loop.call_later(0.1, callback, 'hello world')
577 self.loop.call_later(60, self.loop.stop)
595 self.loop.call_later(60, self.loop.stop)
1828 self.loop.call_later(1.0, func)
2807 h = loop.call_later(0, noop)
2811 h = loop.call_later(0, noop)
2984 NotImplementedError, loop.call_later, None, None)
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst92 * - :meth:`loop.call_later`
264 * :ref:`Using loop.call_later() <asyncio_example_call_later>`.
Dasyncio-eventloop.rst72 methods such as :meth:`loop.call_soon` and :meth:`loop.call_later`;
229 .. method:: loop.call_later(delay, callback, *args, context=None)
264 This method's behavior is the same as :meth:`call_later`.
1278 A callback wrapper object returned by :meth:`loop.call_later`,
1506 Display the current date with call_later()
1510 callback uses the :meth:`loop.call_later` method to reschedule itself
1519 loop.call_later(1, display_date, end_time, loop)
/external/python/cpython3/Lib/test/
Dtest_asyncgen.py779 self.loop.call_later(delay / 2, lambda: fut.cancel())
869 self.loop.call_later(delay / 2, lambda: fut.cancel())
/external/python/cpython3/Doc/whatsnew/
D3.7.rst642 :meth:`loop.call_later() <asyncio.loop.call_later>`,
720 :func:`loop.call_later() <asyncio.loop.call_later>`