A signal emitted for a kernel messages.
Test whether the object has been disposed.
This property is always safe to access.
Whether the session is ready.
The current kernel associated with the document.
A signal emitted when the kernel changes.
The display name of the kernel.
The kernel preference.
The current name associated with the client session.
The current path associated with the client session.
A signal emitted when a session property changes.
A promise that is fulfilled when the session is ready.
The current status of the client session.
A signal emitted when the kernel status changes.
A signal emitted when the session is shut down.
The type of the client session.
A signal emitted for an unhandled kernel message.
Change the current kernel associated with the document.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Restart the session.
A promise that resolves with whether the kernel has restarted.
If there is a running kernel, present a dialog.
If there is no kernel, we start a kernel with the last run
kernel name and resolves with true
. If no kernel has been started,
this is a no-op, and resolves with false
.
Select a kernel for the session.
Change the session name.
Change the session path.
The new session path.
A promise that resolves when the session has renamed.
This uses the Jupyter REST API, and the response is validated. The promise is fulfilled on a valid response and rejected otherwise.
Change the session type.
Kill the kernel and shutdown the session.
A promise that resolves when the session is shut down.
Generated using TypeDoc
The namespace for Client Session related interfaces.