File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -504,8 +504,7 @@ An example of its use is provided in ``aqtest.py``.
504
504
505
505
## 3.6 Task cancellation
506
506
507
- At the time of writing (12th Nov 2017) this requires PR #3380 and
508
- micropython-lib PR #221 which are yet to be merged.
507
+ This requires uasyncio.core V1.6 which was released on 9th Dec 2017.
509
508
510
509
The ` uasyncio ` library supports task cancellation by throwing an exception to
511
510
the coro which is to be cancelled. The latter must trap the exception and
@@ -704,8 +703,7 @@ to completion. The error appears to be in PEP492. See
704
703
705
704
## 4.4 Coroutines with timeouts
706
705
707
- At the time of writing (12th Nov 2017) this requires PR #3380 and
708
- micropython-lib PR #221 which are yet to be merged.
706
+ This requires uasyncio.core V1.6 which was released on 9th Dec 2017.
709
707
710
708
Timeouts are implemented by means of ` uasyncio.wait_for() ` . This takes as
711
709
arguments a coroutine and a timeout in seconds. If the timeout expires a
You can’t perform that action at this time.
0 commit comments