| ... | @@ -21,8 +21,8 @@ const make = Effect.gen(function* () { | ... | @@ -21,8 +21,8 @@ const make = Effect.gen(function* () { |
| 21 | const projectionSnapshotQuery = yield* ProjectionSnapshotQuery; | 21 | const projectionSnapshotQuery = yield* ProjectionSnapshotQuery; |
| 22 | const checkpointStore = yield* CheckpointStore; | 22 | const checkpointStore = yield* CheckpointStore; |
| 23 | | 23 | |
| 24 | const getTurnDiff: CheckpointDiffQueryShape["getTurnDiff"] = (input) => | 24 | const getTurnDiff: CheckpointDiffQueryShape["getTurnDiff"] = Effect.fn("getTurnDiff")( |
| 25 | Effect.gen(function* () { | 25 | function* (input) { |
| 26 | const operation = "CheckpointDiffQuery.getTurnDiff"; | 26 | const operation = "CheckpointDiffQuery.getTurnDiff"; |
| 27 | | 27 | |
| 28 | if (input.fromTurnCount === input.toTurnCount) { | 28 | if (input.fromTurnCount === input.toTurnCount) { |
| ... | @@ -149,7 +149,8 @@ const make = Effect.gen(function* () { | ... | @@ -149,7 +149,8 @@ const make = Effect.gen(function* () { |
| 149 | } | 149 | } |
| 150 | | 150 | |
| 151 | return turnDiff; | 151 | return turnDiff; |
| 152 | }); | 152 | }, |
| | 153 | ); |
| 153 | | 154 | |
| 154 | const getFullThreadDiff: CheckpointDiffQueryShape["getFullThreadDiff"] = ( | 155 | const getFullThreadDiff: CheckpointDiffQueryShape["getFullThreadDiff"] = ( |
| 155 | input: OrchestrationGetFullThreadDiffInput, | 156 | input: OrchestrationGetFullThreadDiffInput, |