Fix
This commit is contained in:
@@ -25,7 +25,7 @@ export const todosRouter = Effect.gen(function*() {
|
||||
changes: procedure
|
||||
.subscription(({ ctx }) =>
|
||||
observable<readonly (typeof JsonifiableTodo.Encoded)[]>(emit => {
|
||||
const watcher = Runtime.runFork(ctx.runtime)(Effect.gen(function*() {
|
||||
const watcher = ctx.fork(Effect.gen(function*() {
|
||||
const todos = yield* TodoRepository
|
||||
|
||||
yield* todos.todos.changes.pipe(
|
||||
|
||||
Reference in New Issue
Block a user