class SimpleShardingStrategy

export declare class SimpleShardingStrategy implements IShardingStrategy

Simple strategy that just spawns shards in the current process

Constructors

constructor()

Constructs a new instance of the SimpleShardingStrategy class

connect() : Promise<void>

destroy(
options?: Omit<WebSocketShardDestroyOptions, 'recover'>
) : Promise<void>

send(
shardId: number
) : Promise<void>

spawn(
shardIds: number[]
) : Promise<void>