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
Peter Hinch
7409467361
docs/library: Note that uasyncio.wait_for() can raise exception.
2020-04-09 22:11:13 +10:00
Damien George
df156b18e5
docs,tests: Add docs and test for uasyncio custom exc handler methods.
2020-04-04 10:47:48 +11:00
Damien George
f97b5395ed
extmod/uasyncio: Add StreamReader/StreamWriter as aliases of Stream cls.
...
To be compatible with CPython. Fixes issue #5847 .
2020-04-02 00:51:00 +11:00
Damien George
b389bc0afa
extmod/uasyncio: Implement Loop.stop() to stop the event loop.
2020-04-02 00:14:18 +11:00
Damien George
c99322f8d8
docs/library: Add initial docs for uasyncio module.
2020-03-26 01:25:45 +11:00