Room with RxJava background thread

from the CommonsWare Community archives

At April 10, 2020, 4:44am, sagarsuri56 asked:

I was going through your book “Elements of Android Room”. You mentioned the following statement:

Room has intermittent support for automatically putting your RxJava work on a scheduler with background threads. Room will put your Observable work on its own scheduler, but not Maybe or Completable , for example. For those, you will need to supply your own scheduler, such as Schedulers.io()

What about Single and Flowable?
@mmurphy


At April 10, 2020, 11:00am, mmurphy replied:

I do not recall running this experiment with those types. My prediction would be that Flowable matches Observable and that Single matches Maybe.