ActuatorDigital / ActuatorDigital/Fluxity

In practice we don't actually want to use effects

未关闭
#59 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
4
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

## Describe the task

Right now, we don't want to use effects, there's too much friction in their use and too much ceremony.

Beyond that though, the idea that you want to run something because a command went through the system doesn't need an effect to do so, it could be `OnDispatch`. Doing that inside an instance of something isn't very functional, it mostly hides dep injection (which we are increasingly very against, its just creating complexity for aesthetic reasons).

Effects we actually have;
1. We more commonly want an effect that recv and validates a command before dispatching a different one, OR,
2. an effect to run as if the command succeeded, which might not be true, and is cumbersome to confirm as effects are not given the state(s) that have changed.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。