DistinctUntilChanged suppresses consecutive duplicate items in the original Observable. Cannot be run in parallel.
(apply Func, opts ...Option)
| 791 | // DistinctUntilChanged suppresses consecutive duplicate items in the original Observable. |
| 792 | // Cannot be run in parallel. |
| 793 | func (o *ObservableImpl) DistinctUntilChanged(apply Func, opts ...Option) Observable { |
| 794 | return observable(o.parent, o, func() operator { |
| 795 | return &distinctUntilChangedOperator{ |
| 796 | apply: apply, |
| 797 | } |
| 798 | }, true, false, opts...) |
| 799 | } |
| 800 | |
| 801 | type distinctUntilChangedOperator struct { |
| 802 | apply Func |
nothing calls this directly
no test coverage detected