Skip to content

gamestdio/signals

 
 

Repository files navigation

@gamestdio/signals

Light-weight, strongly-typed messaging system.

Usage

import { Signal } from "@gamestdio/signals";

let signal = new Signal();

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

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

License

MIT

About

Light-weight, strongly-typed messaging system.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%