execute
Executes the use case and adds its disposable to shared, automatically disposed, composite disposable. In case some variant of MaybeUseCase.execute method has already been called on this instance of MaybeUseCase, previous one is disposed, no matter what current state of internal Maybe is. This behavior can be disabled by passing false to MaybeUseCaseConfig.disposePrevious method.
Return
disposable of internal Maybe. This disposable is disposed automatically. It might be used to dispose use case when you need to dispose it in advance on your own.
Parameters
MayberConfig used to process results of internal Maybe.
Executes the use case and adds its disposable to shared, automatically disposed, composite disposable. In case some variant of MaybeUseCase.execute method has already been called on this instance of MaybeUseCase, previous one is disposed, no matter what current state of internal Maybe is. This behavior can be disabled by passing false to MaybeUseCaseConfig.disposePrevious method.
Return
disposable of internal Maybe. This disposable is disposed automatically. It might be used to dispose use case when you need to dispose it in advance on your own.
Parameters
Arguments used for initial use case initialisation.
MaybeUseCaseConfig used to process results of internal Maybe.