Message245806
For delayed execution methods:
"Returned handle is actually timer object. That timer can be deactivated using asyncio.Handle.cancel() method, so registered callback won't be called".
For other callback registration methods:
"Returned handle may be used to unregister callback using asyncio.Handle.cancel(), so registered callback won't be called".
Also:
1. Documentation of .cancel does not say if it is allowed to cancel cancelled handle.
2. Documentation does not say if it is allowed to cancel timer, that was already fired. |
|
Date |
User |
Action |
Args |
2015-06-25 09:35:08 | socketpair | set | recipients:
+ socketpair, gvanrossum, vstinner, docs@python, yselivanov |
2015-06-25 09:35:08 | socketpair | set | messageid: <1435224908.21.0.364468086884.issue24509@psf.upfronthosting.co.za> |
2015-06-25 09:35:08 | socketpair | link | issue24509 messages |
2015-06-25 09:35:08 | socketpair | create | |
|