Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KernelSpecManager

An implementation of a kernel spec manager.

Hierarchy

  • BaseManager
    • KernelSpecManager

Implements

Index

Constructors

constructor

  • Construct a new kernel spec manager.

    Parameters

    • Optional options: IOptions

      The default options for kernel.

    Returns KernelSpecManager

Properties

Private _connectionFailure

_connectionFailure: any

Private _isReady

_isReady: any

Private _pollSpecs

_pollSpecs: any

Private _ready

_ready: any

Private _specs

_specs: any

Private _specsChanged

_specsChanged: any

Readonly serverSettings

serverSettings: ISettings

The server settings for the manager.

Accessors

connectionFailure

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

    Returns ISignal<this, Error>

disposed

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

    Returns ISignal<this, void>

isDisposed

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

    Returns boolean

isReady

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

    Returns boolean

ready

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

    Returns Promise<void>

specs

  • Get the most recently fetched kernel specs.

    Returns ISpecModels

specsChanged

  • A signal emitted when the specs change.

    Returns ISignal<this, ISpecModels>

Methods

dispose

  • dispose(): void
  • Dispose of the resources used by the manager.

    Returns void

refreshSpecs

  • refreshSpecs(): Promise<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.

Protected requestSpecs

  • requestSpecs(): Promise<void>
  • Execute a request to the server to poll specs and update state.

    Returns Promise<void>

Generated using TypeDoc