()
| 78 | } |
| 79 | |
| 80 | const linkedSignalGetter = () => { |
| 81 | // Check if the value needs updating before returning it. |
| 82 | producerUpdateValueVersion(node); |
| 83 | |
| 84 | // Record that someone looked at this signal. |
| 85 | producerAccessed(node); |
| 86 | |
| 87 | if (node.value === ERRORED) { |
| 88 | throw node.error; |
| 89 | } |
| 90 | |
| 91 | return node.value; |
| 92 | }; |
| 93 | |
| 94 | const getter = linkedSignalGetter as LinkedSignalGetter<S, D>; |
| 95 | getter[SIGNAL] = node; |
nothing calls this directly
no test coverage detected