simple-eventhub
v1.0.3
Published
a decoupled pub/sub-style event message system, with special support for 'this' keyword
Downloads
8
Readme
EventHub
a decoupled pub/sub-style event message system for JavaScript
This is similar to npm packages like decouplejs, but with the ability to set the 'this' keyword in the callback function to the object you want. Because of how JavaScript sets 'this', callback functions are often set to a different object than desired.
(MIT license)