asObservable

@CheckReturnValue
@JvmName(name = "toObservable")
fun <T : Any> Query<T>.asObservable(scheduler: Scheduler = Schedulers.io()): Observable<Query<T>>

Turns this Query into an Observable which emits whenever the underlying result set changes.

Parameters

scheduler

By default, emissions occur on the Schedulers.io scheduler but can be optionally overridden.