Skip to content
Advertisement

Tag: rxjs

RxJs: distinctUntilChanged still emits duplicate values

I have a stream of values that I limit using a lower and upper bound, and to decrease the amount of logging I would like to only emit values if they change. The problem is that the second distinctUntilChanged() in the following snippet still produces duplicates: The RxJs docs state that the filter defaults to a simple equality comparison, so

Advertisement