Creates a new WebSocketKernelClient.
The Datalayer runtime to connect to
Private_Private_Private_Private_Private_Private_Private_Connects to the kernel via WebSocket.
Promise that resolves when connected
PrivatecreateDisposes of the client and closes connections.
PrivateensureEnsures a kernel exists for this session.
Executes code in the kernel.
Code to execute
Execution result with outputs
PrivategetGets the WebSocket URL for kernel communication.
Interrupts kernel execution.
PrivateonHandles WebSocket close event.
PrivateonHandles WebSocket error event.
PrivateonHandles WebSocket message event.
PrivateonHandles WebSocket open event.
Restarts the kernel.
Privatesend
WebSocket-based kernel client for Jupyter protocol communication. Handles connection, execution, and message processing for native notebooks.