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