Class KernelSpecManager

An implementation of a kernel spec manager.

Hierarchy

Implements

Constructors

Properties

_connectionFailure: any
_isReady: any
_pollSpecs: any
_ready: any
_specs: any
_specsChanged: 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 ready(): Promise<void>
  • A promise that fulfills when the manager is ready.

    Returns Promise<void>

  • get specs(): ISpecModels
  • Get the most recently fetched kernel specs.

    Returns ISpecModels

Methods

  • Dispose of the resources used by the manager.

    Returns void

  • Force a refresh of the specs from the server.

    Returns Promise<void>

    A promise that resolves when the specs are fetched.

    Notes

    This is intended to be called only in response to a user action, since the manager maintains its internal state.

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

    Returns Promise<void>

Generated using TypeDoc