0.3.0 #50

Merged
Thilawyn merged 9 commits from next into master 2026-06-04 17:06:52 +02:00
Showing only changes of commit ab08a8850b - Show all commits
+2 -2
View File
@@ -217,8 +217,8 @@ export const unsafeForkEffect = Effect.fnUntraced(function* <A, E, R, P = never>
)) as Lens.SynchronizedRefLensImpl.SynchronizedRefWithInternals<Result<A, E, P>>
const pubsub = yield* PubSub.unbounded<Result<A, E, P>>()
const state = Lens.make<Result<A, E, P>, never, never, never, never>({
get get() { return Ref.get(ref.ref) },
const state = Lens.make({
get: Ref.get(ref.ref),
get changes() {
return Stream.unwrapScoped(Effect.map(
Effect.all([Ref.get(ref.ref), Stream.fromPubSub(pubsub, { scoped: true })]),