-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reworked
G90Callback.invoke
method to wrap regular callback function
into a coroutine and create a task on it afterwards in a unified manner, same way as asynchrounous callbacks are done. Also, callback exceptions are now reaped via done task's done callback, to avoid 'Task exception has never been retrieved' error from `asyncio`
- Loading branch information
Showing
1 changed file
with
35 additions
and
14 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