Instance Method

removeDuplicates()

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

Declaration

func removeDuplicates() -> Publishers.RemoveDuplicates<Publishers.Timeout<Upstream, Context>>
Available when Output conforms to Equatable.

Return Value

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