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

Method stop

Lib/asyncio/base_events.py:726–732  ·  view source on GitHub ↗

Stop running the event loop. Every callback already scheduled will still run. This simply informs run_forever to stop looping after a complete iteration.

(self)

Source from the content-addressed store, hash-verified

724 return future.result()
725
726 def stop(self):
727 """Stop running the event loop.
728
729 Every callback already scheduled will still run. This simply informs
730 run_forever to stop looping after a complete iteration.
731 """
732 self._stopping = True
733
734 def close(self):
735 """Close the event loop.

Callers 1

_run_until_complete_cbFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected