ReadonlyconnectionA signal emitted when the kernel connection status changes, proxied from the session connection.
ReadonlydisposedA signal emitted when the object is disposed.
ReadonlyhasReadonlyiopubA signal emitted for a kernel messages, proxied from the session connection.
ReadonlyisReadonlyisWhether the session context is ready.
ReadonlyisWhether the session context is restarting.
ReadonlyisWhether the session context is terminating.
ReadonlykernelA signal emitted when the kernel changes, proxied from the session connection.
ReadonlykernelReadonlykernelOptional ReadonlykernelThe kernel preference for starting new kernels.
ReadonlykernelSignal emitted if the kernel preference changes.
ReadonlynameReadonlypathReadonlypendingA flag indicating if session is has pending input, proxied from the session connection.
ReadonlyprevThe previous kernel name.
ReadonlypropertyA signal emitted when a session property changes, proxied from the session connection.
ReadonlyreadyA promise that is fulfilled when the session context is ready.
The current session connection.
ReadonlysessionA signal emitted when the session connection changes.
ReadonlysessionThe session manager used by the session.
ReadonlyspecsThe kernel spec manager
ReadonlystatusA signal emitted when the kernel status changes, proxied from the session connection.
ReadonlytypeReadonlyunhandledA signal emitted for an unhandled kernel message, proxied from the session connection.
Change the kernel associated with the session.
A promise that resolves with the new kernel connection.
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.
A context object to manage a widget's kernel session connection.
Notes
The current session connection is
.session, the current session's kernel connection is.session.kernel. For convenience, we proxy several kernel connection and session connection signals up to the session context so that you do not have to manage slots as sessions and kernels change. For example, to act on whatever the current kernel's iopubMessage signal is producing, connect to the session context.iopubMessagesignal.