Creates a new WebSocketKernelClient for communicating with a Jupyter kernel.
The Datalayer runtime configuration to connect to.
Connects to the kernel via WebSocket using the runtime ingress URL.
Promise that resolves when the connection is established.
Disposes of the client and closes connections.
Executes code in the kernel and collects all outputs.
Python code string to execute.
Execution result containing outputs and success status.
Interrupts kernel execution.
Restarts the kernel.
WebSocket-based kernel client for Jupyter protocol communication. Handles connection, execution, and message processing for native notebooks.