(entityId: string)
| 612 | ) { |
| 613 | const config = yield* ShardingConfig |
| 614 | const makeShardId = (entityId: string) => |
| 615 | ShardId.make( |
| 616 | entity.getShardGroup(entityId as EntityId), |
| 617 | (Math.abs(hashString(entityId) % config.shardsPerGroup)) + 1 |
| 618 | ) |
| 619 | const snowflakeGen = yield* Snowflake.makeGenerator |
| 620 | const runnerAddress = new RunnerAddress({ host: "localhost", port: 3000 }) |
| 621 | const entityMap = new Map<string, { |
no test coverage detected