Junior — Senior
Creating a notification system using the Observer pattern
livecode
Task condition
It is necessary to implement the 'Observer' pattern: there should be a source object (publisher) and several listener objects (subscribers). When the state of the publisher changes, each subscriber must receive a corresponding notification about the change.