Skip to main content
Version: v2.10.5

NodeMessage

Gateway messages are discriminated by op. Stats fields are not present on every message; narrow the union before accessing them.

Definition​

export type NodeMessage = ReadyMessage | StatsMessage | PlayerUpdateMessage | PlayerEvents | NodeLinkEvent;