handleInnerEffects

abstract fun handleInnerEffects(model: M, modelUpdated: Boolean, innerEffects: Set<FI>): Next<M, F>

Handle effects emitted from an inner update function.

The outer model has already been updated when this method is called, and the arguments let you know if the model was updated or not. When handling effects you may further modify the model, emit new outer effects, or even choose to ignore the updated outer model.

Parameters

model

the updated outer model

modelUpdated

true if the outer model was updated

innerEffects

the effects emitted by the inner update function