Instance Method

removeDuplicates()

Publishes only elements that don’t match the previous element.

Declaration

func removeDuplicates() -> Publishers.RemoveDuplicates<Publishers.IgnoreOutput<Upstream>>

Return Value

A publisher that consumes — rather than publishes — duplicate elements.