typed-signals
typed-signals copied to clipboard
A type checked signal library for TypeScript (and JavaScript)
Resolves #13 First idea. Needs tests and documentation. I'm also not decided on the naming. @minitoine please check if this API would fit your needs. Check https://github.com/Lusito/typed-signals/commit/b1d99088893439e1fe2b9efe4584e57664fc4fe7 for relevant changes....
Hello :) I'm writing a library exporting objects that can emit signals. These signals are also used internally by the library, and so there is a risk that disconnectAll is...
Docs wrong after 3.0: ```js // Second parameter to connect is an order value. A higher order value means later execution: mySignal.connect(() => console.log("second"), 1); mySignal.connect(() => console.log("first"), 0); ```...