Return True if the future was cancelled.
(self)
| 183 | self._loop.call_soon(callback, self, context=ctx) |
| 184 | |
| 185 | def cancelled(self): |
| 186 | """Return True if the future was cancelled.""" |
| 187 | return self._state == _CANCELLED |
| 188 | |
| 189 | # Don't implement running(); see http://bugs.python.org/issue18699 |
| 190 |
no outgoing calls