What is the purpose of using an observer?

The responsibility of observers is to register (and unregister) themselves on a subject (to get notified of state changes) and to update their state (synchronize their state with the subject’s state) when they are notified.

Sizin İçin Seçtik  Does ping increase with distance?

Leave a Reply

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