TypeScript port of AS3 Signals. 13kb compressed.
import { Signal } from "signals.js";
var signal = new Signal();
signal.add(data => {
console.log(data.message);
});
signal.dispatch({ message: "hello signal!" });
TypeScript port of AS3 Signals. 13kb compressed.
import { Signal } from "signals.js";
var signal = new Signal();
signal.add(data => {
console.log(data.message);
});
signal.dispatch({ message: "hello signal!" });