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.
Type Aliases§
- Compute
Fn - Closure computing a derived value from current state.