Function

neverEqualPolicy

A policy never treat values of a MutableState as equivalent.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

neverEqualPolicy

Common
public fun <T> neverEqualPolicy(): SnapshotMutationPolicy<T>

A policy never treat values of a MutableState as equivalent.

Setting MutableState.value will always be considered a change. When applying a MutableSnapshot that changes the state will always conflict with other snapshots that change the same state.