Strongly Typed Events - Events
Add events that are modeled after .Net with a
argument to your project. If you use typescript, you can leverage the support for generics and get strongly typed code.
Need a different type of event? Check out the others.
Subscription made easy
An example says more than a 1000 words. Imagine if you have events like this on your class:
;//log the name of the clock and the tick argument to the console - this is an eventclock.onClockTick.subscribeconsole.log` ticked times.`;
Events made easy
So let's look at the implementation from a TypeScript perspective. (Do you program NodeJs without typescript? Check this)
Need more info? Check the repo.
This project is maintained by Kees C. Bakker.