commonMain.pro.respawn.flowmvi.api.MVIState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-jvm Show documentation
Show all versions of core-jvm Show documentation
A Kotlin Multiplatform MVI library based on plugins that is simple, fast, powerful & flexible
package pro.respawn.flowmvi.api
/**
* The state of the [StateProvider], most likely a [Store].
* States updates are sent to the [StateReceiver] and consumed by the [StateConsumer].
*
* The state must be **comparable** and **immutable** (most likely a data class or a data object).
*/
public interface MVIState {
override fun equals(other: Any?): Boolean
override fun hashCode(): Int
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy