Subject Interactor
Performs background work and is observed separately
Examples:
retrieving database queries
retrieving asynchronous tasks
Code example:
viewModelScope.launch() {
observeUser.observe().collect { // update state }
}
observeUser()Constructors
SubjectInteractor
Link copied to clipboard
fun SubjectInteractor()
Content copied to clipboard
Functions
Inheritors
SuspendingWorkInteractor
Link copied to clipboard