summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-03-30 14:58:13 +1100
committerDamien George <damien.p.george@gmail.com>2020-04-02 00:14:18 +1100
commitb389bc0afaaa5a16dc11daaed056d89ea3da3b83 (patch)
tree832f5198746359a7c009dff8ba34068ecc9c5166 /docs
parent711dd392d3800f9513c0a534cf8ecd9c3bfd27e0 (diff)
extmod/uasyncio: Implement Loop.stop() to stop the event loop.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/uasyncio.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst
index ebe0c34eb..ff3232ebd 100644
--- a/docs/library/uasyncio.rst
+++ b/docs/library/uasyncio.rst
@@ -251,13 +251,17 @@ Event Loop
.. method:: Loop.run_forever()
- Run the event loop forever.
+ Run the event loop until `stop()` is called.
.. method:: Loop.run_until_complete(awaitable)
Run the given *awaitable* until it completes. If *awaitable* is not a task
then it will be promoted to one.
+.. method:: Loop.stop()
+
+ Stop the event loop.
+
.. method:: Loop.close()
Close the event loop.