Skip to content

Latest commit

 

History

History

Observer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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