O'Reilly logo

RxJava Essentials by Ivan Morgillo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Join

The two previous methods, zip() and merge(), work in the domain of the emitted items. There are scenarios in which we have to also consider the time before deciding how to operate on values. RxJava's join() function combines items from two Observables, working with time windows.

Join

To properly understand the previous figure, let's explain which parameters join() takes:

  • The second Observable to combine with the source Observable
  • A Func1 parameter that returns an Observable that specifies a time span defining the time window during which the item emitted by the source Observable will interact with the items from the second Observable
  • A Func1 parameter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required