Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KernelConnector

The default connector for making inspection requests from the Jupyter API. A namespace for kernel connector statics.

Hierarchy

Implements

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _session

_session: IClientSession

Methods

fetch

  • Fetch inspection requests.

    Parameters

    • request: IRequest

      The inspection request text and details.

    Returns Promise<IReply>

list

  • list(query?: any): Promise<object>
  • Retrieve the list of items available from the data connector.

    Parameters

    • Optional query: any

      The optional query filter to apply to the connector request.

    Returns Promise<object>

    A promise that always rejects with an error.

    Notes

    Subclasses should reimplement if they support a back-end that can list.

remove

  • Remove a value using the data connector.

    Parameters

    • id: IRequest

      The identifier for the data being removed.

    Returns Promise<any>

    A promise that always rejects with an error.

    Notes

    Subclasses should reimplement if they support a back-end that can remove.

save

  • save(id: IRequest, value: void): Promise<any>
  • Save a value using the data connector.

    Parameters

    • id: IRequest

      The identifier for the data being saved.

    • value: void

      The data being saved.

    Returns Promise<any>

    A promise that always rejects with an error.

    Notes

    Subclasses should reimplement if they support a back-end that can save.

Generated using TypeDoc