Re:A proposal to add signals to JavaScript
by runarberg on Sunday March 31, 2024 @04:05PM
(#39887569)
$ node
Welcome to Node.js v20.6.1.
Type ".help" for more information.
> const target = new EventTarget()
undefined
> target.dispatchEvent(new Event("counterChange"))
true