MCPcopy Index your code
hub / github.com/RustPython/RustPython / run_forever

Method run_forever

Lib/asyncio/base_events.py:672–681  ·  view source on GitHub ↗

Run until stop() is called.

(self)

Source from the content-addressed store, hash-verified

670 self._old_agen_hooks = None
671
672 def run_forever(self):
673 """Run until stop() is called."""
674 self._run_forever_setup()
675 try:
676 while True:
677 self._run_once()
678 if self._stopping:
679 break
680 finally:
681 self._run_forever_cleanup()
682
683 def run_until_complete(self, future):
684 """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