Expand description
The effect state machine.
EffectStatus::apply is the single source of truth for which
transitions are legal. Stores and the runtime never change a status
without going through it. The table is documented in
docs/design.md#state-machine.
Structs§
- Invalid
Transition - A transition that is not legal from the current status.
Enums§
- Effect
Status - Where an effect is in its lifecycle.
- Transition
- Something that happens to an effect and may change its status.
Constants§
- ALL_
STATUSES - Every status, for exhaustive tests and store migrations.
- ALL_
TRANSITIONS - Every transition, for exhaustive tests.