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

Function _run_until_complete_cb

Lib/asyncio/base_events.py:183–190  ·  view source on GitHub ↗
(fut)

Source from the content-addressed store, hash-verified

181
182
183def _run_until_complete_cb(fut):
184 if not fut.cancelled():
185 exc = fut.exception()
186 if isinstance(exc, (SystemExit, KeyboardInterrupt)):
187 # Issue #22429: run_forever() already finished, no need to
188 # stop it.
189 return
190 futures._get_loop(fut).stop()
191
192
193if hasattr(socket, 'TCP_NODELAY'):

Callers

nothing calls this directly

Calls 4

_get_loopMethod · 0.80
cancelledMethod · 0.45
exceptionMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…