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

Method start

python/python3/tornado/ioloop.py:893–901  ·  view source on GitHub ↗

Starts the timer.

(self)

Source from the content-addressed store, hash-verified

891 self._timeout = None # type: object
892
893 def start(self) -> None:
894 """Starts the timer."""
895 # Looking up the IOLoop here allows to first instantiate the
896 # PeriodicCallback in another thread, then start it using
897 # IOLoop.add_callback().
898 self.io_loop = IOLoop.current()
899 self._running = True
900 self._next_timeout = self.io_loop.time()
901 self._schedule_next()
902
903 def stop(self) -> None:
904 """Stops the timer."""

Callers 4

startFunction · 0.95
test_periodic_plainMethod · 0.95
test_periodic_coroMethod · 0.95
test_periodic_asyncMethod · 0.95

Calls 3

_schedule_nextMethod · 0.95
currentMethod · 0.80
timeMethod · 0.80

Tested by 3

test_periodic_plainMethod · 0.76
test_periodic_coroMethod · 0.76
test_periodic_asyncMethod · 0.76