Design Patterns for Coordinating Change Event Listeners
https://softwareengineering.stackexchange.com/questions/145416
-
04-11-2019 - |
Pergunta
I've been working with the Observer pattern in JavaScript using various popular libraries for a number of years (YUI & jQuery). It's often that I need to observe a set of property value changes (e.g. respond only when 2 or more specific values change). Is there a elegant way to 'subscribe' the handler so that it is only called one time? Is there something I'm missing or doing wrong in my design?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a softwareengineering.stackexchange