Package com. devbase. data. utilities. rx. transformers

Defines transform schedulers for Rx

Types

Link copied to clipboard
class CompletableSchedulerTransformer(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()) : CompletableTransformer

Define scheduler to use for Completable

Link copied to clipboard
class FlowableSchedulerTransformer<T : Any>(    subscriberScheduler: Scheduler = Schedulers.io(),     observerScheduler: Scheduler = AndroidSchedulers.mainThread(),     delayError: Boolean = false) : FlowableTransformer<T, T>

Define scheduler to use for Flowable

Link copied to clipboard
class MaybeSchedulerTransformer<T : Any>(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()) : MaybeTransformer<T, T>

Define scheduler to use for Maybe

Link copied to clipboard
class ObservableSchedulerTransformer<T : Any>(    subscriberScheduler: Scheduler = Schedulers.io(),     observerScheduler: Scheduler = AndroidSchedulers.mainThread(),     delayError: Boolean = false) : ObservableTransformer<T, T>

Define scheduler to use for Observable

Link copied to clipboard
class SingleSchedulerTransformer<T : Any>(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()) : SingleTransformer<T, T>

Define scheduler to use for Single

Functions

Link copied to clipboard
fun <T> completableScheduler(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()): CompletableSchedulerTransformer
Link copied to clipboard
fun <T : Any> flowableScheduler(    subscriberScheduler: Scheduler = Schedulers.io(),     observerScheduler: Scheduler = AndroidSchedulers.mainThread(),     delayError: Boolean = false): FlowableSchedulerTransformer<T>
Link copied to clipboard
fun <T : Any> maybeScheduler(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()): MaybeSchedulerTransformer<T>
Link copied to clipboard
fun <T : Any> observableScheduler(    subscriberScheduler: Scheduler = Schedulers.io(),     observerScheduler: Scheduler = AndroidSchedulers.mainThread(),     delayError: Boolean = false): ObservableSchedulerTransformer<T>
Link copied to clipboard
fun <T : Any> singleScheduler(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread()): SingleSchedulerTransformer<T>