micropython/tests/extmod/uasyncio_new_event_loop.py.exp
Damien George db137e70dc extmod/uasyncio: Add Loop.new_event_loop method.
This commit adds Loop.new_event_loop() which is used to reset the singleton
event loop.  This functionality is put here instead of in Loop.close() to
make it possible to write code that is compatible with CPython.
2020-04-13 22:16:52 +10:00

7 lines
36 B
Plaintext

start
task 0
stop
start
task 0
stop