Package com.squareup.sqldelight.runtime.rx

Functions

asObservable
Link copied to clipboard
@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.
mapToList
Link copied to clipboard
@CheckReturnValue()
fun <T : Any> Observable<Query<T>>.mapToList(): Observable<List<T>>
mapToOne
Link copied to clipboard
@CheckReturnValue()
fun <T : Any> Observable<Query<T>>.mapToOne(): Observable<T>
mapToOneNonNull
Link copied to clipboard
@CheckReturnValue()
fun <T : Any> Observable<Query<T>>.mapToOneNonNull(): Observable<T>
mapToOneOrDefault
Link copied to clipboard
@CheckReturnValue()
fun <T : Any> Observable<Query<T>>.mapToOneOrDefault(defaultValue: T): Observable<T>
mapToOptional
Link copied to clipboard
@CheckReturnValue()
fun <T : Any> Observable<Query<T>>.mapToOptional(): Observable<Optional<T>>