-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/asyn: Use nest_asyncio when possible
nest_asyncio only supports the event loop implementation from the standard library, but allows seemingly blocking calls to actually be non-blocking in any situation, as opposed to the greenlet implementation that sometimes is forced to run the coroutine in a separate thread.
- Loading branch information
1 parent
ca37b82
commit cb9cd9a
Showing
2 changed files
with
109 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters