| 184 | const target = { group: Rpcs, client: Client, staleTime: Infinity } as const |
| 185 | class Find extends UiRpc.QueryService<Find>()("Find", { ...target, tag: "Find" }) {} |
| 186 | class Count extends UiRpc.QueryService<Count>()("Count", { ...target, tag: "Count" }) {} |
| 187 | const handlers = Rpcs.toLayer({ |
| 188 | Find: (payload) => Effect.succeed(JSON.stringify(payload)), |
| 189 | Count: (range) => Effect.succeed(`${range instanceof Range} ${range.to - range.from}`), |
no outgoing calls
no test coverage detected