summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-06-05 21:26:27 +1000
committerDamien George <damien.p.george@gmail.com>2020-06-10 22:29:44 +1000
commita4c96fb3b0c5e3bf83238a0edd0fbcbfd96208c8 (patch)
tree32f02633f7a2aae51e3882693cdcfa8122e73f15 /docs/library
parentf3062b5cbdeea5900486a38902e3155117ebf820 (diff)
extmod/uasyncio: Add asyncio.wait_for_ms function.
Fixes issue #6107.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/uasyncio.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst
index 0f363a076..31b38a4e0 100644
--- a/docs/library/uasyncio.rst
+++ b/docs/library/uasyncio.rst
@@ -74,6 +74,12 @@ Additional functions
This is a coroutine.
+.. function:: wait_for_ms(awaitable, timeout)
+
+ Similar to `wait_for` but *timeout* is an integer in milliseconds.
+
+ This is a coroutine, and a MicroPython extension.
+
.. function:: gather(\*awaitables, return_exceptions=False)
Run all *awaitables* concurrently. Any *awaitables* that are not tasks are