The transforming operators

As the name suggests, the transforming operators help you transform items emitted by a producer.

Here is a brief list of transforming operators:

  • map
  • flatMap, concatMap, and flatMapIterable
  • switchMap
  • switchIfEmpty
  • scan
  • groupBy
  • startWith
  • defaultIfEmpty
  • sorted
  • buffer
  • window
  • cast
  • delay
  • repeat

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.