(observer: QueryObserver, result: QueryObserverResult)
| 261 | } |
| 262 | |
| 263 | #onUpdate(observer: QueryObserver, result: QueryObserverResult): void { |
| 264 | const index = this.#observers.indexOf(observer) |
| 265 | if (index !== -1) { |
| 266 | this.#result = replaceAt(this.#result, index, result) |
| 267 | this.#notify() |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | #notify(): void { |
| 272 | if (this.hasListeners()) { |
no test coverage detected