Return True if the future was cancelled.
(self)
| 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 |
no outgoing calls