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  Why is Java Observer deprecated?

Leave a Reply

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