Preview environment

class WebSocketShard

export declare class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap>

Constructors

constructor()

Constructs a new instance of the WebSocketShard class

readonly
id : number

readonly
status : WebSocketShardStatus

connect() : Promise<void>

send() : Promise<void>