commonMain.net.humans.kmm.mvi.Aliases.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mvi-core Show documentation
Show all versions of mvi-core Show documentation
Simple and concise implementation of Redux/MVI approach by Humans.
The newest version!
package net.humans.kmm.mvi
typealias ComplexReducer = (state: State, msg: Msg) -> Return
typealias SimpleReducer = (state: State, msg: Msg) -> State
typealias StateConsumer = (state: State) -> Unit
typealias ErrorHandler = (Throwable) -> Unit
typealias Mutator = (old: T) -> T