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