Skip to content

zach-brockway/typescript-signals

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript-Signals

Custom event/messaging system for TypeScript.

Converted from JS-Signals which was inspired by AS3-Signals.

For a more in-depth introduction read the JS-Signals Project Page and visit the links below.

Getting Started

Copy the Signal.ts and SignalBinding.ts files into your TypeScript project.

If you wish you can place them inside a module, but by default they are set to global classes.

Reference the Signal.ts file in your code and then use them as normal. Look at the tests provided in the tests folder for plenty examples of use, or read the JS-Signals documentation.

JS-Signals Links

License

Repository Structure

Folder Structure

|-src         ->  source files
|-tests       ->  unit tests

Running Tests

The tests are stand-alone TypeScript classes that map to the tests created for JS-Signals.

About

A TypeScript implementation of js-signals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%