Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 576 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 576 Bytes

Observer Pattern

Automatically notify objects of changes to the application state.

This pattern is commonly used in event-driven software to ensure that objects are aware of the application state. In this pattern, when the subject class changes state, it automatically notifies all registered observer classes of this change. This allows for the application to respond and be reconfigured based on state changes at runtime.

For more information, Wikipedia provides a great overview of the pattern: Wikipedia Article