Room with RxJava background thread

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

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

1 Like