콘텐츠로 이동
한국어

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