NetworkTables class for interacting with NetworkTables over a WebSocket connection.

Accessors

Methods

  • Adds a listener for robot connection status updates.

    Parameters

    • callback: ((_: boolean) => void)

      The callback to call when the connection status changes.

        • (_): void
        • Parameters

          • _: boolean

          Returns void

    • OptionalimmediateNotify: boolean

      Whether to immediately notify the callback of the current connection status.

    Returns (() => void)

    A function to remove the listener.

      • (): void
      • Returns void