(observer: QueryObserver, result: QueryObserverResult)
| 296 | } |
| 297 | |
| 298 | #onUpdate(observer: QueryObserver, result: QueryObserverResult): void { |
| 299 | const index = this.#observers.indexOf(observer) |
| 300 | if (index !== -1) { |
| 301 | this.#result = replaceAt(this.#result, index, result) |
| 302 | this.#notify() |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | #notify(): void { |
| 307 | if (this.hasListeners()) { |
no test coverage detected