FlowableUseCase

abstract class FlowableUseCase<ARGS, T> : BaseUseCase

Base use case which wraps Flowable. Instance of this use case can be simply executed in cooperation with app.futured.arkitekt.rxusecases.disposables.FlowableDisposablesOwner interface.

Wrapped stream is subscribed on io.reactivex.schedulers.Schedulers.io and observed on io.reactivex.android.schedulers.AndroidSchedulers.mainThread by default. You may override these through workScheduler and resultScheduler respectively.

Constructors

FlowableUseCase
Link copied to clipboard
fun FlowableUseCase()

Functions

create
Link copied to clipboard
fun create(args: ARGS): Flowable<T>
Creates internal Flowable Rx stream, applies requested work & result schedulers and exposes this stream as a Flowable.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String