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