After discussions with @loytomaki at work, it has been made quite clear that I've gone astray with using EventBus as the communication channel of LayerJS rather than going with my roots and using some derivative of the Observer pattern that didn't rely solely on strings.
I would like to move to removal of the EventBus for the API and instead implement some form of Dispatching/Observer pattern that uses more specific interfacing between observable and observer.
After discussions with @loytomaki at work, it has been made quite clear that I've gone astray with using EventBus as the communication channel of LayerJS rather than going with my roots and using some derivative of the Observer pattern that didn't rely solely on strings.
I would like to move to removal of the EventBus for the API and instead implement some form of Dispatching/Observer pattern that uses more specific interfacing between observable and observer.