TwoVersionTransactionImpl
Basic implementation of the most fundamental propagation steps as defined by AbstractPropagation. Only compatible with spore definitions that store a pulse value and support graph operations.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Type members
Classlikes
Attributes
- Supertypes
- Self type
-
accessHandler.type
Value members
Abstract methods
allow the propagation to handle dynamic access to reactives
allow the propagation to handle dynamic access to reactives
Attributes
Concrete methods
Attributes
- Definition Classes
Commits all uncommitted changes to the reactive element.
Commits all uncommitted changes to the reactive element.
Attributes
- Definition Classes
Call all registered after-commit obverser functions.
Call all registered after-commit obverser functions.
Attributes
- Definition Classes
Reverts all uncommitted changes to the reactive element.
Reverts all uncommitted changes to the reactive element.
Attributes
- Definition Classes
Schedules a temporarily written change to be committed by the turn.
Schedules a temporarily written change to be committed by the turn.
Attributes
- Definition Classes
Inherited methods
Starts the propagation by applying the initial changes
Starts the propagation by applying the initial changes
Attributes
- Inherited from:
- TwoVersionTransaction
Attributes
- Inherited from:
- Transaction
Attributes
- Inherited from:
- Transaction
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 parameters
- initialWrites
-
List of affected reactive values
Attributes
- Inherited from:
- TwoVersionTransaction
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.
Attributes
- Inherited from:
- TwoVersionTransaction
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.
Attributes
- Inherited from:
- TwoVersionTransaction