nest_asyncio.apply() to check for asyncio.AbstractEventLoop
sylim2357 opened this issue · 1 comments
sylim2357 commented
Line 13 in 960fccf
Suggesting to use asyncio.AbstractEventLoop instead of asyncio.BaseEventLoop
- can support wider range of loops incl. uvloop
erdewit commented
The patching relies on some implementation details that are specific to the asyncio BaseEventLoop. It will unfortunately not work with uvloop or other non-asyncio loops (that I know of).