proposal-signals
proposal-signals copied to clipboard
"Effect" is undefined in `Computed.get`
The algorithm specification for "Method: Signal.Computed.prototype.get" says this in phase 1:
If the current execution context is
notifyingor if this Signal has the state~computing~, or if this signal is an Effect andcomputinga computed Signal, throw an exception.
There's no other reference to an "Effect" so it's not clear what this means. There are some references to "effect Signal" elsewhere but this is also not defined anywhere.
Good catch @prophile! I think this is some language left over from an earlier draft of the proposal. @littledan Should this just be updated to say Watcher or is there a more involved change here?
Yes, we should just be referring to Watcher here.