Searched refs:TimerHandle (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | events.py | 104 class TimerHandle(Handle): class 143 if isinstance(other, TimerHandle):
|
D | base_events.py | 671 timer = events.TimerHandle(when, callback, args, self, context) 1666 assert not isinstance(handle, events.TimerHandle)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_events.py | 2856 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)
|
D | test_base_events.py | 233 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/ |
D | asyncio-eventloop.rst | 71 :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/ |
D | 3.7.0b2.rst | 321 Implement ``asyncio.TimerHandle.when()`` method.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 721 gained the new :meth:`when() <asyncio.TimerHandle.when>` method which
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2287 TimerHandle; as_completed() and wait() raise TypeError if the passed
|