Skip to content

Commit 5fbb82a

Browse files
committed
doc: Add steps to install uvloop in extension README
1 parent 99d4701 commit 5fbb82a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

webext/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ couple of options:
3838
echo "#!$(readlink -f ./env/bin/python3)"
3939
```
4040

41+
Then, optionally, you can use [uvloop](https://github.com/MagicStack/uvloop)>=0.18 as the web extension's async event loop implementation.
42+
This is not required, we prefer using uvloop, while can still fallback to use the built-in asyncio if failed to import it.
43+
44+
If you are sure to use it, simply install `uvloop` like installing `dbus-next` mentioned above.
45+
We will print a log to let you know if we are using uvloop.
46+
4147
# Setup Instructions
4248

4349
## For Testing

0 commit comments

Comments
 (0)