Interface INetworkConnection

interface INetworkConnection {
    get isConnected(): boolean;
    get isInRoom(): boolean;
    send(key: string, data:
        | null
        | string
        | number
        | boolean
        | object
        | IModel, queue: SendQueue): unknown;
}

Implemented by

Accessors

Methods

Accessors

  • get isConnected(): boolean
  • Returns boolean

  • get isInRoom(): boolean
  • Returns boolean

Methods

  • Parameters

    • key: string
    • data:
          | null
          | string
          | number
          | boolean
          | object
          | IModel
    • queue: SendQueue

    Returns unknown