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
I want to implement an angular component to display in realtime the "live" observable count, but the count doesn't make sense (to me). For example, after a while playing with the app, I get in the console:
unsubscribe is idempotent, so I guess it depends upon where the count is incremented.
I've not worked on or used rxjs-spy for some time, as I'm working on its successor - which does a better job. The subscribe counts don't have to match up as the categories that are listed are exhaustive - i.e. there would be subscribes that are between the root and the leaf that aren't flattened and aren't shown.
I might look at this later. Maybe. But TBH I think any effort would be better directed elsewhere.
I want to implement an angular component to display in realtime the "live" observable count, but the count doesn't make sense (to me). For example, after a while playing with the app, I get in the console:
How it is possible that I have more unsubscribes than subscribes?
The test file https://github.com/cartant/rxjs-spy/blob/master/source/plugin/stats-plugin-spec.ts is quite usefull to understand how things work, but it would be even better with some tests on the impact of errors on Unsubscribes or Completes counts.
Also, according to the test file, Subscribes = Root subscribes + Leaf subscribes + Flattened subscribes, but it doesn't seem to be the case.
The text was updated successfully, but these errors were encountered: