Query work
Some checks failed
Lint / lint (push) Failing after 11s

This commit is contained in:
Julien Valverdé
2025-11-16 06:19:18 +01:00
parent e3bb50e2c9
commit a890d1c855

View File

@@ -33,10 +33,12 @@ extends Pipeable.Class() implements Query<K, A, E, R, P> {
} }
query(key: K) { query(key: K) {
return this.result.pipe( return this.fiber.pipe(
Effect.andThen(Option.match({ Effect.andThen(Option.match({
onSome: Fiber.interrupt,
})) onNone: () => Effect.void,
})),
Effect.andThen(),
) )
} }
} }