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

Method cancelled

Lib/asyncio/futures.py:181–183  ·  view source on GitHub ↗

Return True if the future was cancelled.

(self)

Source from the content-addressed store, hash-verified

179 self._loop.call_soon(callback, self, context=ctx)
180
181 def cancelled(self):
182 """Return True if the future was cancelled."""
183 return self._state == _CANCELLED
184
185 # Don't implement running(); see http://bugs.python.org/issue18699
186

Callers 7

_copy_future_stateFunction · 0.45
_call_check_cancelFunction · 0.45
_call_set_stateFunction · 0.45

Calls

no outgoing calls

Tested by 2