| 183 | const TestEntityRpcs = EntityProxy.toRpcGroup(TestEntity) |
| 184 | const called = yield* Deferred.make<void>() |
| 185 | const testClient = (entityId: string) => ({ |
| 186 | NoPayload: (payload: void, options?: { readonly discard?: boolean }) => |
| 187 | Effect.gen(function*() { |
| 188 | assert.strictEqual(entityId, "id") |
| 189 | assert.strictEqual(payload, undefined) |
| 190 | assert.strictEqual(options?.discard, true) |
| 191 | yield* Deferred.succeed(called, undefined) |
| 192 | }) |
| 193 | }) |
| 194 | const sharding = Sharding.Sharding.of({ |
| 195 | ...({} as Sharding.Sharding["Service"]), |
| 196 | isShutdown: Effect.succeed(false), |