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

Method cancelled

Lib/concurrent/futures/_base.py:383–386  ·  view source on GitHub ↗

Return True if the future was cancelled.

(self)

Source from the content-addressed store, hash-verified

381 return True
382
383 def cancelled(self):
384 """Return True if the future was cancelled."""
385 with self._condition:
386 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
387
388 def running(self):
389 """Return True if the future is currently executing."""

Callers 1

waitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected