()
| 129 | } |
| 130 | |
| 131 | protected override onSubscribe(): void { |
| 132 | if (this.listeners.size === 1 && this.#currentMutation) { |
| 133 | this.#currentMutation.addObserver(this) |
| 134 | |
| 135 | this.#updateResult() |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | protected override onUnsubscribe(): void { |
| 140 | if (!this.hasListeners()) { |
nothing calls this directly
no test coverage detected