consumeIntents

fun <S : MVIState, I : MVIIntent, A : MVIAction> StoreBuilder<S, I, A>.consumeIntents(name: String = ConsumeIntentsPluginName)

Create and install a plugin that consumes intents and does nothing with them.

This is useful when you are using reducePlugin with consume = false You can add this to the end of your store declaration to consume the remaining unprocessed intents if you are sure that you already handled all of them fully

See also