The default implementation for a session context object.

Implements

Constructors

Properties

kernelManager?: Kernel.IManager

The kernel manager

sessionManager: Session.IManager

The session manager used by the session.

specsManager: KernelSpec.IManager

The kernel spec manager

Accessors

Methods

  • Initialize the session context

    Returns Promise<boolean>

    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.