Package app.futured.arkitekt.crusecases
See: Description
-
Class Summary Class Description BuildConfig BaseCrViewModel Base ViewModel class prepared for providing data to UI through LiveData and obtaining data from Stores (Repositories) by executing Coroutine based use cases like UseCase and FlowUseCase. Builder Constructs references to lambdas and some basic configuration used to process results of Coroutine use case. UseCaseConfig Holds references to lambdas and some basic configuration used to process results of Coroutine use case. Builder Constructs references to lambdas and some basic configuration used to process results of Flow use case. FlowUseCaseConfig Holds references to lambdas and some basic configuration used to process results of Flow use case. FlowUseCase Base Flow use case meant to use in CoroutineScopeOwner implementations Result A discriminated union that encapsulates successful outcome either with Success or with ErrorThis class is adapted to kotlin coroutines so if Error contains CancellationException then this error is rethrown. Success Represents a successful Result, containing a value. Error Represents a failed Result, containing an error. UseCase Base Coroutine use case meant to use in CoroutineScopeOwner implementations ResultKt -
Interface Summary Interface Description CoroutineScopeOwner This interface gives your class ability to execute UseCase and FlowUseCase Coroutine use cases.