Expand description
Computed (derived) state variables with dependency-ordered evaluation.
Computed variables are pure functions of other state keys. The ComputedRegistry
maintains a topologically sorted list of ComputedVars so that dependencies are
always evaluated before the variables that depend on them.
Structsยง
- Computed
Registry - Registry of computed variables with dependency-ordered evaluation.
- Computed
Var - A computed state variable: a pure function of other state keys.