Think of a situation when you want to receive some emissions from the producer but want to discard the rest. There may be some logic to determine the qualifying emissions, or you may even wish to discard in bulk. The filtering/suppressing operators are there to help you in these situations.
Here is a brief list of filtering/suppressing operators:
- debounce
- distinct and distinctUntilChanged
- elementAt
- Filter
- first and last
- ignoreElements
- skip, skipLast, skipUntil, and skipWhile
- take, takeLast, takeUntil, and takeWhile
Let's now take a closer look at all of them.