You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by edmundchong September 8, 2024
I created a frequently updated BehaviorSubject which I pass through some conditional statements. However, there are strange effects from nodes that are commented out (but still connected). Here is a toy example which isolates the issue:
In this case mySubject is only initialized once but is propagated 3 times.
When the commented out node is deleted or simply connected on the other end like the rest of the Condition nodes, everything is fine: .
The same behavior happens also if I e.g. replace Merge with Zip or CombineLatest or Amb.
The text was updated successfully, but these errors were encountered:
bruno-f-cruz
changed the title
Disabled hanging braches lead to runtime differences in subscription behavior
Disabled dangling branches lead to runtime differences in subscription behavior
Sep 8, 2024
Discussed in https://github.com/orgs/bonsai-rx/discussions/2006
Originally posted by edmundchong September 8, 2024
I created a frequently updated
BehaviorSubject
which I pass through some conditional statements. However, there are strange effects from nodes that are commented out (but still connected). Here is a toy example which isolates the issue:In this case mySubject is only initialized once but is propagated 3 times.
When the commented out node is deleted or simply connected on the other end like the rest of the
Condition
nodes, everything is fine:.
The same behavior happens also if I e.g. replace
Merge
withZip
orCombineLatest
orAmb
.Workflow attached below.
foo.bonsai.zip
The text was updated successfully, but these errors were encountered: