(n: number)
| 303 | const watcher = yield* watchPatched(GetCount, { id: "a" }) |
| 304 | yield* advance(10) |
| 305 | const like = (n: number) => GetCount.patch({ id: "a" }, (count) => count + n) |
| 306 | const save = Effect.sleep(10).pipe( |
| 307 | Effect.andThen(Effect.sync(() => db.count++)) |
| 308 | ) |