Callback/Command vs EventListener/Observer Pattern
Command, callback and observer patterns have different semantics: callback – notifies a single caller that some operation finished with some result observer – notifies zero to n interested parties that some event (for example a finished operation) happened command – encapsulates a operation call in an object thus making it transferable over a wire or … Read more