how to aviod infinite loop in observer pattern?
- by joseph
Hello. I have only one class with many instances. Every instance is observer of couple of other instances. As well every instance can be observable by couple of another instances.
How to avoid infinite loop of calling update() in observers?