The object which is being watched is called the subject. The objects which are watching the state changes are called observers or listeners .
Read moreWhat are observers in code?
The observer pattern is a software design pattern in which an object, named the subject, maintains a list of its dependents , called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Read more