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

Method _invoke_callbacks

Lib/concurrent/futures/_base.py:337–342  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

335 self._done_callbacks = []
336
337 def _invoke_callbacks(self):
338 for callback in self._done_callbacks:
339 try:
340 callback(self)
341 except Exception:
342 LOGGER.exception('exception calling callback for %r', self)
343
344 def __repr__(self):
345 with self._condition:

Callers 3

cancelMethod · 0.95
set_resultMethod · 0.95
set_exceptionMethod · 0.95

Calls 2

callbackFunction · 0.50
exceptionMethod · 0.45

Tested by

no test coverage detected