Observer Pattern (Publisher-Subscriber Pattern)
  • is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing

Code Structure

Code Example

Comparisons

Resources