What is the Observer pattern good for?

The Observer pattern suggests that you add a subscription mechanism to the publisher class so individual objects can subscribe to or unsubscribe from a stream of events coming from that publisher .

Sizin İçin Seçtik  What is the Observer design pattern explain briefly its importance with an example?

Leave a Reply

Your email address will not be published. Required fields are marked *