ste-promise-simple-events
TypeScript icon, indicating that this package has built-in type declarations

3.0.11 • Public • Published

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.

Build Status npm version License: MIT

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.

Package Sidebar

Install

npm i ste-promise-simple-events

Weekly Downloads

4,395

Version

3.0.11

License

MIT

Unpacked Size

15.5 kB

Total Files

19

Last publish

Collaborators

  • keestalkstech