Skip to content
 
 

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

Code of conduct

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages