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

Function _outer_done_callback

Lib/asyncio/tasks.py:991–996  ·  view source on GitHub ↗
(outer)

Source from the content-addressed store, hash-verified

989 outer.set_result(inner.result())
990
991 def _outer_done_callback(outer):
992 if not inner.done():
993 inner.remove_done_callback(_inner_done_callback)
994 # Keep only one callback to log on cancel
995 inner.remove_done_callback(_log_on_exception)
996 inner.add_done_callback(_log_on_exception)
997
998 if cur_task is not None:
999 inner.add_done_callback(_clear_awaited_by_callback)

Callers

nothing calls this directly

Calls 3

doneMethod · 0.45
remove_done_callbackMethod · 0.45
add_done_callbackMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…