A no-op session manager to be used when starting sessions is not supported.

Hierarchy

Constructors

Properties

_readyPromise: any
serverSettings: ServerConnection.ISettings

The server settings for the manager.

Accessors

  • get connectionFailure(): ISignal<this, Error>
  • A signal emitted when there is a connection failure.

    Returns ISignal<this, Error>

  • get disposed(): ISignal<this, void>
  • A signal emitted when the delegate is disposed.

    Returns ISignal<this, void>

  • get isActive(): boolean
  • Whether the manager is active.

    Returns boolean

  • get isDisposed(): boolean
  • Test whether the delegate has been disposed.

    Returns boolean

  • get isReady(): boolean
  • Test whether the manager is ready.

    Returns boolean

  • get parentReady(): Promise<void>
  • Used for testing.

    Returns Promise<void>

  • get ready(): Promise<void>
  • A promise that fulfills when the manager is ready (never).

    Returns Promise<void>

  • get runningChanged(): ISignal<this, Session.IModel[]>
  • A signal emitted when the running sessions change.

    Returns ISignal<this, Session.IModel[]>

Methods

  • Dispose of the resources used by the manager.

    Returns void

  • Force a refresh of the running sessions.

    Returns Promise<void>

    A promise that with the list of running sessions.

    Notes

    This is not typically meant to be called by the user, since the manager maintains its own internal state.

  • Execute a request to the server to poll running sessions and update state.

    Returns Promise<void>

  • Create an iterator over the most recent running sessions.

    Returns IterableIterator<Session.IModel>

    A new iterator over the running sessions.

  • Shut down a session by id - throw an error since it is not supported.

    Parameters

    • id: string

    Returns Promise<void>

  • Shut down all sessions.

    Returns Promise<void>

    A promise that resolves when all of the kernels are shut down.

  • Find a session associated with a path and stop it if it is the only session using that kernel.

    Parameters

    • path: string

      The path in question.

    Returns Promise<void>

    A promise that resolves when the relevant sessions are stopped.

Generated using TypeDoc