Maybe Disposables Owner
interface MaybeDisposablesOwner
Content copied to clipboard
This interface gives your class ability to execute MaybeUseCase use cases and automatically add resulting disposables to one composite disposable. You may find handy to implement this interface in custom Presenters, ViewHolders etc.
Consider using DisposablesOwner to support all of the basic RxJava 2 types.
It is your responsibility to clear this composite disposable when all running tasks should be stopped.
Functions
execute
Link copied to clipboard
open fun <T> MaybeUseCase<Unit, T>.execute(config: MaybeUseCaseConfig.Builder<T>.() -> Unit): Disposable
Content copied to clipboard
open fun <ARGS, T> MaybeUseCase<ARGS, T>.execute(args: ARGS, config: MaybeUseCaseConfig.Builder<T>.() -> Unit): Disposable
Content copied to clipboard
executeStream
Link copied to clipboard
open fun <T : Any> Maybe<T>.executeStream(config: MaybeUseCaseConfig.Builder<T>.() -> Unit): Disposable
Content copied to clipboard
Properties
disposables
Link copied to clipboard
Inheritors
DisposablesOwner
Link copied to clipboard