Skip to main content

Interface: MessagePayload<T>

Type Parameters

Type ParameterDefault type
Tunknown | undefined

Properties

data

data: T;

key?

optional key: string[];

type

type: 
| "get"
| "off"
| "on"
| "ping"
| "pong"
| "update";