Observer Design Pattern
The observer pattern allows you to define a subscription mechanism that will notify multiple objects about any events on the object we attempt to observe.
The observer pattern allows you to define a subscription mechanism that will notify multiple objects about any events on the object we attempt to observe.