TwoVersionTransaction
Abstract propagation definition that defines phases for reactive propagation through dependent reactive elements.
- Type Params
- S
Struct type that defines the spore type used to manage the reactive evaluation
Value members
Abstract methods
Commits all uncommitted changes to the reactive element.
Commits all uncommitted changes to the reactive element.
Starts the propagation by applying the initial changes
Starts the propagation by applying the initial changes
Call all registered after-commit obverser functions.
Call all registered after-commit obverser functions.
Locks (and potentially otherwise prepares) all affected reactive values to prevent interfering changes.
Locks (and potentially otherwise prepares) all affected reactive values to prevent interfering changes.
- Value Params
- initialWrites
List of affected reactive values
Performs the actual propagation, setting the new (not yet committed) values for each reactive element.
Performs the actual propagation, setting the new (not yet committed) values for each reactive element.
Unlocks (and potentially otherwise reverts the propagation preparations for) each reactive value to allow future turns to run on them.
Unlocks (and potentially otherwise reverts the propagation preparations for) each reactive value to allow future turns to run on them.