Observer
-
ObserverModeling/DesignPattern 2020. 2. 24. 22:01
1. Overview Observer pattern is used when there is a one-to-many relationship between objects such as if one object is modified, its dependent objects are to be notified automatically. Observer pattern falls under the behavioral pattern category. We are defining one-to-many dependency between objects, where many objects are listening for the state change of a single object, without tightly coupl..