The utility operators

These operators help us to perform various utility operations, such as performing some action on emissions, remembering timestamps of each items emitted, caching, and much more.

The following is the list of utility operators:

  • doOnNext, doOnComplete, and doOnError
  • doOnSubscribe, doOnDispose, and doOnSuccess
  • serialize
  • cache

We will cover utility operators in detail in the next chapter.

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.