()
| 94 | } |
| 95 | |
| 96 | protected onSubscribe(): void { |
| 97 | if (this.listeners.size === 1 && this.#currentMutation) { |
| 98 | this.#currentMutation.addObserver(this) |
| 99 | |
| 100 | this.#updateResult() |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | protected onUnsubscribe(): void { |
| 105 | if (!this.hasListeners()) { |
nothing calls this directly
no test coverage detected