| title | Model Relay |
|---|---|
| layout | default |
| category | Infusion |
The Infusion Model Relay system is a powerful scheme for supplying declarative configuration which specifies rules for keeping multiple pieces of model state around the component tree automatically up to date with each other's changes.
We sometimes use the term model skeleton to refer to a connected set of models around the component tree which are related together by relay rules. This appeals to the idea that these models form an inner core which
arrive at a set of mutually consistent model values, before they start to notify listeners out in the periphery of each component (generally, in its view layer). The system might make several passes over the model skeleton in
order to satisfy all the relay rules, and then update all modelListeners as a single operation — presenting them with a consistent snapshot of the state of the entire