subscribableevent
v1.0.1
Published
A simple strongly-typed pub/sub/fire eventing system
Downloads
6,421
Readme
SubscribableEvent
A simple strongly-typed pub/sub/fire eventing system
Basic Example
const event = new SubscribableEvent<(payload: string) => void>();
event.subscribe((payload: string) => {
console.log(payload);
});
event.fire('Payload Params');
Contributing
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.