declare class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap>
Constructors
externalstrategy: IContextFetchingStrategyid: number) constructor(
strategy: IContextFetchingStrategy
id: number
Constructs a new instance of the WebSocketShard
class
readonlyexternalnumber id :
readonlyexternalWebSocketShardStatus status :
external destroyoptions?: WebSocketShardDestroyOptions) : Promise<void> (
options?: WebSocketShardDestroyOptions
external sendpayload: GatewaySendPayload) : Promise<void> (
payload: GatewaySendPayload