Skip to content
MOVED: This project has moved to https://github.com/RobotlegsJS/SignalsJS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
dist
src
test
.codeclimate.yml
.editorconfig
.eslintignore
.eslintrc
.gitignore
.istanbul.yml
.npmignore
.publishrc
.travis.yml
LICENSE.md
README.md
karma.conf.js
package.json
tsconfig.json
tsconfig.test.json
tsfmt.json
tslint.json
webpack.config.js
yarn.lock

README.md

SignalsJS

Join the chat at https://gitter.im/GoodgameStudios/RobotlegsJS Build Status Code Climate Test Coverage npm version Greenkeeper badge

NPM NPM

TypeScript port of AS3 Signals. 13kb compressed.

Usage

import { Signal } from "signals.js";
var signal = new Signal();

signal.add(data => {
  console.log(data.message);
});

signal.dispatch({ message: "hello signal!" });

License

MIT

You can’t perform that action at this time.