0.6.0
-
New: Require a
Schedulerwhen wrapping a database or content provider which will be used when sending query triggers. This allows the query to be run in subsequent operators without needing an additionalobserveOn. It also eliminates the need to usesubscribeOnsince the suppliedSchedulerwill be used for all emissions (similar to RxJava'stimer,interval, etc.).This also corrects a potential violation of the RxJava contract and potential source of bugs in that all triggers now occur on the supplied
Scheduler. Previously the initial value would trigger synchronously (on the subscribing thread) while subsequent ones trigger on the thread which performed the transaction. The new behavior puts the initial trigger on the same thread as all subsequent triggers and also does not force transactions to block while sending triggers.