Hierarchy

  • CoreClient

Implements

Constructors

Properties

EVENT_CONNECT: string
EVENT_DISCONNECT: string
EVENT_RECONNECT: string
EVENT_RECONNECT_AUTH_FAILED: string
EVENT_REFRESH_TOKEN_UPDATED: string
EVENT_REQUEST_FAILED: string
EVENT_REQUEST_STARTED: string
EVENT_REQUEST_SUCCEEDED: string
LOGIN_TYPE_ANONYMOUS: string
LOGIN_TYPE_PASSWORD: string

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

          • e: CustomEvent<T>

          Returns void

    Returns (() => void)

    Returns a cleanup function.

      • (): void
      • Returns void

  • Returns void

  • Returns Promise<string[][]>

  • Returns Promise<string[][]>

  • Returns string

  • Parameters

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • eventName: string
    • Optional timeoutInMillis: number

    Returns Promise<CustomEvent<T>>

  • Parameters

    • Optional timeoutInMillis: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Removes an event listener added to this table.

    Type Parameters

    • T

    Parameters

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

          • e: CustomEvent<T>

          Returns void

    Returns boolean