class WorkerShardingStrategy
implements
IShardingStrategydeclare class WorkerShardingStrategy implements IShardingStrategyStrategy used to spawn threads in worker_threads
 destroy(options?: Omit<WebSocketShardDestroyOptions, 'recover'>) : Promise<void>
options?: Omit<WebSocketShardDestroyOptions, 'recover'>
Destroys all the shards
fetchStatus() : Promise<Collection<number, WebSocketShardStatus>>
Fetches the status of all the shards
 send(shardId: numberdata: GatewaySendPayload) : void
shardId: number
data: GatewaySendPayload
Sends a payload to a shard