I am working with a third-party plugin that triggers an event using:
plugin.onSuperAwesomeEvent(function () { /*do magic once event is fired */})
The issue I am facing is that this event may be triggered multiple times and I need to handle it in a way that allows for observation or subscription. How can I achieve this?