I did a deep study on how the Reaction object sends and receives changes. It was hard to discern the meaning of the accreted branches of logic, so I hope this refactor clarifies how everything is actually working. No behavior changes were made.
Corrected the “Changed?” docs (ratoms are not = tested as was indicated).
Isolate the dirty? conditions so it’s easier to see what it’s preventing.
Isolate the identical? and = to clarify the change detections.
Added a _set-state to Reaction so the change detection from -deref and _run can be shared.
Fixes #574
I did a deep study on how the Reaction object sends and receives changes. It was hard to discern the meaning of the accreted branches of logic, so I hope this refactor clarifies how everything is actually working. No behavior changes were made.
=
tested as was indicated).dirty?
conditions so it’s easier to see what it’s preventing.identical?
and=
to clarify the change detections._set-state
to Reaction so the change detection from-deref
and_run
can be shared.