Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 388 Bytes

File metadata and controls

5 lines (3 loc) · 388 Bytes

Observer Pattern

Observer 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. source

In this example Radiostation notifies multiple instances of RadioListener when broadcasting.