interface WebSocketShardEventsMap

export interface WebSocketShardEventsMap

closed : [code: number]

debug : [message: string]

dispatch : [payload: GatewayDispatchPayload]

error : [error: Error]

heartbeat : [stats: { ackAt: number; heartbeatAt: number; latency: number; }]

hello : []

ready : [payload: GatewayReadyDispatchData]

resumed : []

socketError : [error: Error]