| Interface | Description |
|---|---|
| CoroutineScopeOwner |
This interface gives your class ability to execute
class UseCase and class FlowUseCase Coroutine use cases.
You may find handy to implement this interface in custom Presenters, ViewHolders etc.
It is your responsibility to cancel coroutineScope when when all running tasks should be stopped. |
| Class | Description |
|---|---|
| BaseCrViewModel<S extends ViewState> |
Base ViewModel class prepared for providing data to UI through LiveData and
obtaining data from Stores (Repositories) by executing Coroutine based use cases like
class UseCase and class FlowUseCase. |
| Error |
Represents a failed
class Result, containing an error. |
| FlowUseCase<ARGS,T> |
Base Flow use case meant to use in
interface CoroutineScopeOwner implementations |
| Result<VALUE> |
A discriminated union that encapsulates successful outcome either with
class Success or with class Error |
| ResultKt | |
| Success<VALUE> |
Represents a successful
class Result, containing a value. |
| UseCase<ARGS,T> |
Base Coroutine use case meant to use in
interface CoroutineScopeOwner implementations |