Expand description
Contains the IObserverNumberChanged trait, which is implemented on a struct and then passed to the ObserverNumberProducer struct when notifications are wanted about changes to the number in the ObserverNumberProducer struct.
Traits
- Represents an observer to the ObserverNumberProducer struct. An observer implements this trait and then subscribes to the ObserverNumberProducer struct with the trait. The observer will be called whenever a change in the number is made.