Builder

class Builder

Constructs references to lambdas and some basic configuration used to process results of Completabler use case.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): CompletableUseCaseConfig
disposePrevious
Link copied to clipboard
fun disposePrevious(disposePrevious: Boolean)
Set whether currently running internal Completable should be disposed when execute is called repeatedly.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onComplete
Link copied to clipboard
fun onComplete(onComplete: () -> Unit)
Set lambda which is called when onComplete on internal Completable is called
onError
Link copied to clipboard
fun onError(onError: (Throwable) -> Unit)
Set lambda which is called when onError on internal Completable is called
onStart
Link copied to clipboard
fun onStart(onStart: () -> Unit)
Set lambda which is called right before internal Completable is subscribed
toString
Link copied to clipboard
open fun toString(): String