PyDocs

Nav

Networking and Interprocess Communication

Task.cancelling

asyncio

method of Task · Added in 3.11not WASI
  • Task.cancelling()
Return the count of the task's cancellation requests.

This count is incremented when .cancel() is called
and may be decremented using .uncancel().
0 Examples
No examples for asyncio/Task.cancelling.
See Also
No see-alsos for asyncio/Task.cancelling
0 Notes
No notes for Task.cancelling