Options
All
  • Public
  • Public/Protected
  • All
Menu

Commands are sent to the server. They can be executed but never registered for.

Hierarchy

  • WebSocketCommand

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

maxAgeQueuedMillis

maxAgeQueuedMillis: number

The maximum number of milliseconds the command should be queued for, after which it will not be sent to the server. If left undefined/falsey it will not expire based on time.

name

name: string

queue

queue: any

Whether to queue the command if it cannot be sent to the server.

ws

Methods

execute

  • execute(parameters: any[]): void
  • Parameters

    • parameters: any[]

    Returns void

sync

  • Execute this WebSocketCommand when the given framework Command is executed.

    Parameters

    Returns void