コンテンツにスキップ
日本語

hashShardId

このコンテンツはまだ日本語訳がありません。

hashShardId(entityId, numShards): number

Defined in: src/cluster/sharding/ShardAllocator.ts:42

Helper used by the default ShardRegion to map an entityId to a shard. Uses a stable string hash; callers may supply their own extractShardId.

string

number

number