i have a controller which listens to change events from 6 list components which can dispatch different change events (like item clicked, item added, …).
It would therefore be interesting for me to know (not only which broadcaster but also) what kind of change event was triggered.
How about to overload the mentioned methods with some sort of (optional) type (could just be a String) argument?
By using that a listener could better decide what the broadcaster actually wants to do.
If that’s not an option how could this be done else?