Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comm-message handlers and support for debugPort config retrieval #375

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

nikolay-egorov
Copy link
Contributor

No description provided.

@nikolay-egorov
Copy link
Contributor Author

nikolay-egorov commented Jun 24, 2022

Adjusted api to be compatible with comms callbacks, added interface for some standard handlers for kernel-provided comms

@nikolay-egorov nikolay-egorov force-pushed the debug-port-message-handle branch from 68d19f6 to a356529 Compare June 24, 2022 13:30
override val targetId: String
get() = OPEN_DEBUG_PORT_TARGET

override val onReceiveAction: CommMessageProcessCallback
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe val => fun and rename?

@@ -205,6 +208,10 @@ class ReplForJupyterImpl(

private val resourcesProcessor = LibraryResourcesProcessorImpl()

init {
registerKnownCommsHandlersOnStartUp(this)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to refactor repl class in a way it would be fully configurable via factory. Please make it possible to configure (switch off/on, add specific handlers) registration of these comms via factory

@nikolay-egorov nikolay-egorov force-pushed the debug-port-message-handle branch 2 times, most recently from db0dc9c to 3295b26 Compare August 30, 2022 09:48
@nikolay-egorov nikolay-egorov force-pushed the debug-port-message-handle branch from 3295b26 to 016bf95 Compare August 31, 2022 06:32
@nikolay-egorov nikolay-egorov force-pushed the debug-port-message-handle branch from 016bf95 to 8fa1bcd Compare August 31, 2022 10:11
@ileasile ileasile merged commit 774aac0 into master Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants