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

Method add_result

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

Source from the content-addressed store, hash-verified

79 self.lock = threading.Lock()
80
81 def add_result(self, future):
82 with self.lock:
83 super(_AsCompletedWaiter, self).add_result(future)
84 self.event.set()
85
86 def add_exception(self, future):
87 with self.lock:

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_resultMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected