RxJava - different schedulers for each observable inside combineLatest

26 Views Asked by At

I'm using combineLatest like in the example here -

Observables.combineLatest(
            observable1,
            observable2
        )
            .subscribeOn(schedulers.io())
            .observeOn(schedulers.mainThread())
            .subscribeBy( ... )

And and I want to set different schedulers: schedulers.computation() for observable1 and schedulers.io() observable2.

Is there a way to do it and how can I test it or print Logs to verify that it works as expected?

0

There are 0 best solutions below