conflateActionsDecorator
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> conflateActionsDecorator(name: String? = "ConflateActions", crossinline compare: (it: A, other: A) -> Boolean = MVIAction::equals): PluginDecorator<S, I, A>
Conflates intents going through this decorator based on the equality function provided in compare.
The default implementation uses a structural equality check.
The first intent since the store has started will never be dropped, then if the compare function returns true for the last sent event and the current one, the event will be dropped.