Hierarchy

  • IBroker

Implemented by

Properties

IsConnected: boolean
SendMessage: ((base) => void)

Type declaration

SetUserId: ((userId) => void)

Type declaration

    • (userId): void
    • Parameters

      • userId: string

      Returns void

Subscribe: ((topic, callback, type?) => void)

Type declaration

    • (topic, callback, type?): void
    • Add a subscriber to a topic.

      Parameters

      Returns void

Unsubscribe: ((topic, callback) => void)

Type declaration

    • (topic, callback): void
    • Remove a subscriber from a topic.

      Parameters

      Returns void

Generated using TypeDoc