-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for async kernel management via subclassing (#428)
* Add support for async kernel management via subclassing Introduced async subclasses that derive from synchronous classes, overriding appropriate methods with async support. * Convert to async/await model * Apply changes per review Also added the cache_ports logic that existed in the sync multiKernelManager. * Add async def is_alive() back
- Loading branch information
1 parent
fa0c78b
commit 99bb826
Showing
9 changed files
with
782 additions
and
37 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .manager import IOLoopKernelManager | ||
from .restarter import IOLoopKernelRestarter | ||
from .manager import IOLoopKernelManager, AsyncIOLoopKernelManager | ||
from .restarter import IOLoopKernelRestarter, AsyncIOLoopKernelRestarter |
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
Oops, something went wrong.