micropython-lib/uasyncio.core/uasyncio
Paul Sokolovsky 203cc489c6 uasyncio.core: wait_for: Add support for cancelling I/O-bound coros.
Coros which removed from normal scheduling queue (and possibly put into
another queue, like I/O queue here) are marked with .pend_throw(False).
If wait_for() cancels such a coro, it is explicitly scheduled for execution,
so they actually could process pending exception (coro's exception handler
should take care of removing it from another queue and related clean up).
2017-12-14 19:09:02 +02:00
..
core.py uasyncio.core: wait_for: Add support for cancelling I/O-bound coros. 2017-12-14 19:09:02 +02:00