diff --git a/Q&A.md b/Q&A.md deleted file mode 100644 index 2cf01f2..0000000 --- a/Q&A.md +++ /dev/null @@ -1,13 +0,0 @@ -### How to use uvloop with Tornado? - -Install uvloop event policy before calling `AsyncIOMainLoop().install()`: - -```python -from tornado.platform.asyncio import AsyncIOMainLoop -import asyncio -import uvloop - -asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) -AsyncIOMainLoop().install() -asyncio.get_event_loop().run_forever() -``` \ No newline at end of file