InputHistoryViewModel
class InputHistoryViewModel(val dispatchersProvider: DispatchersProvider, val getGenerationResultPagedUseCase: GetGenerationResultPagedUseCase, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<InputHistoryState, InputHistoryIntent, EmptyEffect> (source)
Coordinates InputHistoryViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, getGenerationResultPagedUseCase: GetGenerationResultPagedUseCase, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Link copied to clipboard
Exposes the dispatchersProvider value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the getGenerationResultPagedUseCase value used by the SDAI presentation layer.
Link copied to clipboard