decoratedWith
infix fun <S : MVIState, I : MVIIntent, A : MVIAction> StorePlugin<S, I, A>.decoratedWith(decorator: PluginDecorator<S, I, A>): StorePlugin<S, I, A>
Return a new StorePlugin that decorates this
plugin using decorator
infix fun <S : MVIState, I : MVIIntent, A : MVIAction> StorePlugin<S, I, A>.decoratedWith(decorators: Iterable<PluginDecorator<S, I, A>>): StorePlugin<S, I, A>
Return a new StorePlugin that decorates this
plugin using all decorators.
Decorators are wrapped in the order of iteration: D_N( ...D1( D0( Plugin ) )... )