batchIntentsDecorator
fun <S : MVIState, I : MVIIntent, A : MVIAction> batchIntentsDecorator(mode: BatchingMode, queue: BatchQueue<I> = BatchQueue(), name: String? = "BatchIntentsDecorator"): PluginDecorator<S, I, A>
A decorator that batches intents based on the BatchingMode and stores them in a BatchQueue.
Based on the mode, the intents will be batched either by time ("flush every N seconds") or amount. See BatchingMode for details.