Completable Scheduler Transformer

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

Define scheduler to use for Completable

Parameters

subscriberScheduler

scheduler to use when subscribing

observerScheduler

scheduler to use when observing

Constructors

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

Functions

Link copied to clipboard
open override fun apply(upstream: Completable): CompletableSource

Method to apply scheduler

Sources

Link copied to clipboard