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

Method add_cancelled

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

Source from the content-addressed store, hash-verified

63 self.finished_futures.append(future)
64
65 def add_cancelled(self, future):
66 self.finished_futures.append(future)
67
68class _AsCompletedWaiter(_Waiter):
69 """Used by as_completed()."""

Callers 4

add_cancelledMethod · 0.45
add_cancelledMethod · 0.45
add_cancelledMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected