Home
last modified time | relevance | path

Searched refs:TimerHandle (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Devents.py104 class TimerHandle(Handle): class
143 if isinstance(other, TimerHandle):
Dbase_events.py671 timer = events.TimerHandle(when, callback, args, self, context)
1666 assert not isinstance(handle, events.TimerHandle)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2856 h = asyncio.TimerHandle(when, lambda: False, (),
2862 h = asyncio.TimerHandle(when, lambda: False, (),
2872 h = asyncio.TimerHandle(when, callback, args, mock.Mock())
2885 asyncio.TimerHandle, None, callback, args,
2892 h = asyncio.TimerHandle(123, noop, (), self.loop)
2908 h = asyncio.TimerHandle(123, noop, (), self.loop)
2929 h1 = asyncio.TimerHandle(when, callback, (), self.loop)
2930 h2 = asyncio.TimerHandle(when, callback, (), self.loop)
2946 h1 = asyncio.TimerHandle(when, callback, (), self.loop)
2947 h2 = asyncio.TimerHandle(when + 10.0, callback, (), self.loop)
Dtest_base_events.py233 self.assertIsInstance(h, asyncio.TimerHandle)
335 h1 = asyncio.TimerHandle(time.monotonic() + 5.0, lambda: True, (),
337 h2 = asyncio.TimerHandle(time.monotonic() + 10.0, lambda: True, (),
392 h = asyncio.TimerHandle(time.monotonic() - 1, cb, (self.loop,),
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst71 :class:`TimerHandle` instances which are returned from scheduling
234 An instance of :class:`asyncio.TimerHandle` is returned which can
266 An instance of :class:`asyncio.TimerHandle` is returned which can
1276 .. class:: TimerHandle
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b2.rst321 Implement ``asyncio.TimerHandle.when()`` method.
/external/python/cpython3/Doc/whatsnew/
D3.7.rst721 gained the new :meth:`when() <asyncio.TimerHandle.when>` method which
/external/python/cpython3/Misc/
DHISTORY2287 TimerHandle; as_completed() and wait() raise TypeError if the passed