diff options
Diffstat (limited to 'docs/library')
-rw-r--r-- | docs/library/uasyncio.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst index 9cb0ca9bb..0f363a076 100644 --- a/docs/library/uasyncio.rst +++ b/docs/library/uasyncio.rst @@ -244,6 +244,13 @@ Event Loop Return the event loop used to schedule and run tasks. See `Loop`. +.. function:: new_event_loop() + + Reset the event loop and return it. + + Note: since MicroPython only has a single event loop this function just + resets the loop's state, it does not create a new one. + .. class:: Loop() This represents the object which schedules and runs tasks. It cannot be |