Return the count of the task's cancellation requests. This count is incremented when .cancel() is called and may be decremented using .uncancel().
(self)
| 223 | return True |
| 224 | |
| 225 | def cancelling(self): |
| 226 | """Return the count of the task's cancellation requests. |
| 227 | |
| 228 | This count is incremented when .cancel() is called |
| 229 | and may be decremented using .uncancel(). |
| 230 | """ |
| 231 | return self._num_cancels_requested |
| 232 | |
| 233 | def uncancel(self): |
| 234 | """Decrement the task's count of cancellation requests. |
no outgoing calls