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

Method add_cancelled

Lib/concurrent/futures/_base.py:107–109  ·  view source on GitHub ↗
(self, future)

Source from the content-addressed store, hash-verified

105 self.event.set()
106
107 def add_cancelled(self, future):
108 super().add_cancelled(future)
109 self.event.set()
110
111class _AllCompletedWaiter(_Waiter):
112 """Used by wait(return_when=FIRST_EXCEPTION and ALL_COMPLETED)."""

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_cancelledMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected