Maybe Scheduler Transformer

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

Define scheduler to use for Maybe

Parameters

subscriberScheduler

scheduler to use when subscribing

observerScheduler

scheduler to use when observing

Constructors

Link copied to clipboard
fun MaybeSchedulerTransformer(subscriberScheduler: Scheduler = Schedulers.io(), observerScheduler: Scheduler = AndroidSchedulers.mainThread())

Functions

Link copied to clipboard
open override fun apply(upstream: Maybe<T>): MaybeSource<T>

Method to apply scheduler

Sources

Link copied to clipboard