Hypercubed / mini-signals

signals, in JavaScript, fast
MIT License
120 stars 12 forks source link

Signal improvements #19

Closed ghost closed 2 years ago

ghost commented 3 years ago

These edits adds the js-signals .active functionality to mini-signals by adding an active property to the MiniSignal and MiniSignalBinding classes, which solves this issue https://github.com/Hypercubed/mini-signals/issues/9.

Also adding another improvement to the library which is the execute function which is a variadic function, instead of expecting an array of arguments as implemented in js-signals.

Hypercubed commented 3 years ago

Thank you for the contribution. I'll look at this ASAP. Can you explain the .version you have added?