ste-promise-simple-events
v3.0.11
Published
Add the power of Simple Events to your projects. Every event has an argument with its data. Every handler can be a promise.
Downloads
15,491
Maintainers
Readme
Strongly Typed Events - Promise Simple Event
Simple events are a type of event that will provide an argument
with data when fired. If you use typescript, you can leverage the support for generics and get strongly typed code. Handlers can be promises.
Need a different type of event? Check out the others.
Check the documentation or the examples for more information.
Need more info? Check the repo.
Example?
It is hard to come up with sensible examples for promise based handlers, but check the GitHub page for a general overview.
Maintenance
This project is maintained by Kees C. Bakker.