Observer Design Pattern
The Observer Design Pattern defines a one-to-many dependency between objects so that when the subject’s changes state, all of its observers are notified.
The Observer Design Pattern defines a one-to-many dependency between objects so that when the subject’s changes state, all of its observers are notified.