Glossary: Software Design Patterns
Observer
Also written: observer pattern
A pattern where the code that something happens in (the subject) keeps a list of listeners and calls each one, without knowing what they do. `logging` handlers work this way.
Glossary: Software Design Patterns
Also written: observer pattern
A pattern where the code that something happens in (the subject) keeps a list of listeners and calls each one, without knowing what they do. `logging` handlers work this way.