[docs] [issue24509] Undocumented features of asyncio: call_at, call_later

Марк Коренберг report at bugs.python.org
Thu Jun 25 11:35:08 CEST 2015


Марк Коренберг added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24509>
_______________________________________


More information about the docs mailing list