Closed Androidown closed 2 years ago
To call async code from async code you can just use await
, this project is for calling async code from sync code.
Btw it looks like in the snippet there's a circular dependency, with two tasks waiting on the other to finish.
question
The following code will lead to a infinite polling in both windows and linux. I'm quite new to nested asyncio so I want to know if it is a bug or not.
code
enviroment
cpython 3.8.10 nest_asyncio==1.5.4
stack