Room with RxJava background thread
from the CommonsWare Community archivesAt 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 notMaybe
orCompletable
, for example. For those, you will need to supply your own scheduler, such asSchedulers.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
.