MCPcopy Create free account
hub / github.com/EasyIME/PIME / on_timeout

Method on_timeout

python/python3/tornado/locks.py:432–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430 if timeout:
431
432 def on_timeout() -> None:
433 if not waiter.done():
434 waiter.set_exception(gen.TimeoutError())
435 self._garbage_collect()
436
437 io_loop = ioloop.IOLoop.current()
438 timeout_handle = io_loop.add_timeout(timeout, on_timeout)

Callers

nothing calls this directly

Calls 2

_garbage_collectMethod · 0.80
doneMethod · 0.45

Tested by

no test coverage detected