Skipping and taking emissions

Just like the preceding situation in this chapter, where we used the take operator, there are often some scenarios where you would like to take some of the emissions and skip the remaining ones. The skip and take operators are of huge help in those scenarios. They are actually a part of the filtering operators we discussed in the previous chapter; however, honestly, they do deserve a dedicated discussion. So, here it is.

Get Reactive Programming in Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.