EffectHandlerWrapperUtils<State, Msg, Effect> extension
Extension for easily wrapping a feature with an EffectHandler.
Provides a convenient method for adding an EffectHandler to handle specific effect types without directly interacting with FeatureEffectWrapper.
Methods
-
wrapEffects<
E extends Effect> (EffectHandler< E, Msg> handler) → Feature<State, Msg, Effect> -
Available on Feature<
Wraps the feature with an EffectHandler for effects of typeState, Msg, Effect> , provided by the EffectHandlerWrapperUtils extensionE
.