WebSocketShard

export declare class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap>
export declare class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap>

No summary provided.

constructor(strategy, id)
Constructs a new instance of the WebSocketShard class
NameTypeOptionalDescription
strategyIContextFetchingStrategyNoNone
idnumberNoNone
Readonly
Readonly
connect():Promise<void>
destroy(options?):Promise<void>
NameTypeOptionalDescription
optionsWebSocketShardDestroyOptionsYesNone
send(payload):Promise<void>
NameTypeOptionalDescription
payloadGatewaySendPayloadNoNone