@reffuse/extension-query 0.1.5 #16

Merged
Thilawyn merged 347 commits from next into master 2025-06-01 05:28:47 +02:00
Showing only changes of commit 10f23d4cb4 - Show all commits

View File

@@ -487,12 +487,12 @@ export abstract class ReffuseNamespace<R> {
Stream.unwrapScoped, Stream.unwrapScoped,
)), )),
Effect.provideService(Scope.Scope, scope), Effect.provideService(Scope.Scope, scope),
), [scope]) ), [scope], { doNotReExecuteOnRuntimeOrContextChange: true })
this.useEffect(() => Ref.set(latest, values).pipe( this.useEffect(() => Ref.set(latest, values).pipe(
Effect.andThen(PubSub.publish(pubsub, values)), Effect.andThen(PubSub.publish(pubsub, values)),
Effect.unlessEffect(PubSub.isShutdown(pubsub)), Effect.unlessEffect(PubSub.isShutdown(pubsub)),
), values) ), values, { doNotReExecuteOnRuntimeOrContextChange: true })
return stream return stream
} }