EffectCommandBuildWhen<A extends Object, E extends Object> typedef

EffectCommandBuildWhen<A extends Object, E extends Object> = bool Function(EffectCommandState<A, E> previous, EffectCommandState<A, E> current)

Decides whether one state transition should rebuild the subtree.

Implementation

typedef EffectCommandBuildWhen<A extends Object, E extends Object> =
    bool Function(
      EffectCommandState<A, E> previous,
      EffectCommandState<A, E> current,
    );