Presently, this is the entrypoint into the Deephaven JS API. By creating an instance of this with the server URL and some options, JS applications can run code on the server, and interact with available exportable objects.

Hierarchy

  • IdeConnection

Implements

  • HasEventHandling

Constructors

Properties

EVENT_DISCONNECT: string
EVENT_RECONNECT: string
EVENT_SHUTDOWN: string
HACK_CONNECTION_FAILURE: string

Deprecated

Methods

  • Listen for events on this object.

    Type Parameters

    • T

      the type of the data that the event will provide

    Parameters

    • name: string

      the name of the event to listen for

    • callback: ((e) => void)

      a function to call when the event occurs

        • (e): void
        • Parameters

          Returns void

    Returns (() => void)

    Returns a cleanup function.

      • (): void
      • Listen for events on this object.

        Returns void

        Returns a cleanup function.

  • Closes the current connection, releasing any resources on the server or client.

    Returns void

  • Returns Promise<string[]>

  • Parameters

    Returns Promise<any>

  • Returns Promise<WorkerHeapInfo>

  • Parameters

    • name: string

    Returns boolean

  • Type Parameters

    • T

    Parameters

    • eventName: string
    • Optional timeoutInMillis: number

    Returns Promise<any>

  • Register a callback function to handle any log messages that are emitted on the server. Returns a function , which can be invoked to remove this log handler. Any log handler registered in this way will receive as many old log messages as are presently available.

    Parameters

    • callback: ((arg0) => void)
        • (arg0): void
        • Parameters

          Returns void

    Returns (() => void)

    io.deephaven.web.shared.fu.JsRunnable

      • (): void
      • Register a callback function to handle any log messages that are emitted on the server. Returns a function , which can be invoked to remove this log handler. Any log handler registered in this way will receive as many old log messages as are presently available.

        Returns void

        io.deephaven.web.shared.fu.JsRunnable

  • Removes an event listener added to this table.

    Type Parameters

    • T

    Parameters

    • name: string
    • callback: ((e) => void)
        • (e): void
        • Parameters

          Returns void

    Returns boolean

  • Parameters

    • callback: ((arg0) => void)

    Returns (() => void)

      • (): void
      • Returns void