EffectHandler<Value> typedef

EffectHandler<Value> = ({DisposeCallback dispose, EmitCallback<Value> emit, GuardCallback guard, RegisterCallback register})

The handler record provided to Effect.run that connects the effect to the store's action dispatch, cancellation, and lifecycle systems.

Implementation

typedef EffectHandler<Value> = ({
  EmitCallback<Value> emit,
  RegisterCallback register,
  DisposeCallback dispose,
  GuardCallback guard
});