Construct a new session context.
Optional ReadonlykernelThe kernel manager
ReadonlysessionThe session manager used by the session.
ReadonlyspecsThe kernel spec manager
A signal emitted when the kernel status changes, proxied from the kernel.
A signal emitted for iopub kernel messages, proxied from the kernel.
Test whether the context is disposed.
Whether the context is ready.
Whether the context is restarting.
Whether the context is terminating.
A signal emitted when the kernel connection changes, proxied from the session connection.
A sensible status to display
This combines the status and connection status into a single status for the user.
The kernel preference of this client session.
This is used when selecting a new kernel, and should reflect the sort of kernel the activity prefers.
The kernel preference for starting new kernels.
Signal emitted if the kernel preference changes.
ProtectednoGet the constant displayed name for "No Kernel"
A flag indicating if the session has pending input, proxied from the kernel.
The name of the previously started kernel.
The current session connection.
A signal emitted when the session connection changes.
A signal emitted for an unhandled kernel message, proxied from the kernel.
Change the current kernel associated with the session.
Initialize the session context
A promise that resolves with whether to ask the user to select a kernel.
If a server session exists on the current path, we will connect to it.
If preferences include disabling canStart or shouldStart, no
server session will be started.
If a kernel id is given, we attempt to start a session with that id.
If a default kernel is available, we connect to it.
Otherwise we ask the user to select a kernel.
The default implementation for a session context object.