Open davidscheutz opened 1 year ago
The idea is to make handling side effects reusable where the cases of one effect could be handled by several effect handlers.
Some examples
Some questions
EffectHandler
Effect
Effect.Result
Making one step back, why would this be necessary?
Effect handler can be injected with shared components and using those components comes with little costs...
The idea is to make handling side effects reusable where the cases of one effect could be handled by several effect handlers.
Some examples
Some questions
EffectHandler
is constructed with a specificEffect
and returns a specificEffect.Result
, how do we map between those two types?