CompletableInteractor

abstract class CompletableInteractor<P : InteractorParams>(ioScheduler: Scheduler, uiScheduler: Scheduler)

Abstract class for a use case, representing an execution unit of asynchronous work. This use case type uses Completable as the return type. Upon subscription a use case will execute its job in the thread specified by the ioScheduler. and will post the result to the thread specified by uiScheduler.

Constructors

Link copied to clipboard
fun CompletableInteractor(ioScheduler: Scheduler, uiScheduler: Scheduler)

Functions

Link copied to clipboard
fun buildCompletable(params: P): Completable

Build a use case with the provided execution thread and post execution thread