observable

Design Patterns – Observer

The Observer is a Behavioral Design Pattern often known as Dependents or the Publish-Subscriber pattern where the subject would be the publisher and observer would be the subscriber. It defines and maintains a dependency between objects. It is used to keep consistency, or where you don’t know who needs to be notified when your Subject Design Patterns – Observer