sivent
v1.0.1
Published
Simple generic event realization
Downloads
4
Readme
Simple event
Fires all listeners, subscribed on emitter object.
Usage example
let sivent = new Sivent<string, number>();
sivent.add((sender, data) => {
console.log(sender, data);
})
sivent.invoke("hi there, ", 123);