Package kotlinx.coroutines.experimental.rx2
Utilities for RxJava 2.x.
Types
class SchedulerCoroutineDispatcher : Implements CoroutineDispatcher on top of an arbitrary Scheduler. |
Extensions for External Classes
Functions
fun rxCompletable( Creates cold Completable that runs a given block in a coroutine. Every time the returned completable is subscribed, it starts a new coroutine. Unsubscribing cancels running coroutine. |
|
fun <T> rxFlowable( Creates cold flowable that will run a given block in a coroutine.
Every time the returned flowable is subscribed, it starts a new coroutine.
Coroutine emits items with |
|
fun <T> rxMaybe( Creates cold maybe that will run a given block in a coroutine. Every time the returned observable is subscribed, it starts a new coroutine. Coroutine returns a single, possibly null value. Unsubscribing cancels running coroutine. |
|
fun <T> rxObservable( Creates cold observable that will run a given block in a coroutine.
Every time the returned observable is subscribed, it starts a new coroutine.
Coroutine emits items with |
|
fun <T> rxSingle( Creates cold single that will run a given block in a coroutine. Every time the returned observable is subscribed, it starts a new coroutine. Coroutine returns a single value. Unsubscribing cancels running coroutine. |