You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
309dfe39e0
This is added because task.coro==None is no longer the way to detect if a task is finished. Providing a (CPython compatible) function for this allows the implementation to be abstracted away. Signed-off-by: Damien George <damien@micropython.org>
25 lines
200 B
Plaintext
25 lines
200 B
Plaintext
==========
|
|
False
|
|
task start
|
|
task done
|
|
True
|
|
True
|
|
==========
|
|
False
|
|
task start
|
|
False
|
|
task done
|
|
True
|
|
==========
|
|
False
|
|
task start
|
|
True
|
|
ValueError()
|
|
True
|
|
==========
|
|
False
|
|
task start
|
|
False
|
|
ValueError()
|
|
True
|