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.

on
Annotations
  • @experimental

Methods

wrapEffects<E extends Effect>(EffectHandler<E, Msg> handler) Feature<State, Msg, Effect>

Available on Feature<State, Msg, Effect>, provided by the EffectHandlerWrapperUtils extension

Wraps the feature with an EffectHandler for effects of type E.