(entityId: string)
| 507 | ) { |
| 508 | const config = yield* ShardingConfig |
| 509 | const makeShardId = (entityId: string) => |
| 510 | ShardId.make( |
| 511 | entity.getShardGroup(entityId as EntityId), |
| 512 | (Math.abs(hashString(entityId) % config.shardsPerGroup)) + 1 |
| 513 | ) |
| 514 | const snowflakeGen = yield* Snowflake.makeGenerator |
| 515 | const runnerAddress = new RunnerAddress({ host: "localhost", port: 3000 }) |
| 516 | const entityMap = new Map<string, { |
no test coverage detected
searching dependent graphs…