0.1.11 #14
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user