effect-io-ai

Package: @effect/cluster
Module: ShardingConfig

ShardingConfig.shardGroupConfig

Normalizes the provided ShardingConfig to calculate the available and assigned shard groups.

Signature

declare const shardGroupConfig: (config: ShardingConfig["Type"]) => { readonly available: ReadonlySet<string>; readonly assigned: ReadonlySet<string>; }

Source

Since v1.0.0