compositePlugin

fun <S : MVIState, I : MVIIntent, A : MVIAction> compositePlugin(plugins: List<StorePlugin<S, I, A>>, name: String? = null): StorePlugin<S, I, A>

A plugin that delegates to plugins in the iteration order. This is an implementation of the "Composite" pattern and the "Chain or Responsibility" pattern.

This plugin is mostly not intended for usage in general code as there are no real use cases for it so far. It can be useful in testing and custom store implementations.

The plugins list must support random element access in order to be performant