MCPcopy Index your code
hub / github.com/python/cpython / run_forever

Method run_forever

Lib/asyncio/base_events.py:677–686  ·  view source on GitHub ↗

Run until stop() is called.

(self)

Source from the content-addressed store, hash-verified

675 self._old_agen_hooks = None
676
677 def run_forever(self):
678 """Run until stop() is called."""
679 self._run_forever_setup()
680 try:
681 while True:
682 self._run_once()
683 if self._stopping:
684 break
685 finally:
686 self._run_forever_cleanup()
687
688 def run_until_complete(self, future):
689 """Run until the Future is done.

Callers 1

run_until_completeMethod · 0.95

Calls 3

_run_forever_setupMethod · 0.95
_run_onceMethod · 0.95
_run_forever_cleanupMethod · 0.95

Tested by

no test coverage detected