* Requests a host update in a microtask, batching multiple calls into one.
()
| 208 | * Requests a host update in a microtask, batching multiple calls into one. |
| 209 | */ |
| 210 | protected queueUpdate(): void { |
| 211 | if (this.updateQueued) { |
| 212 | return |
| 213 | } |
| 214 | |
| 215 | this.updateQueued = true |
| 216 | queueMicrotask(() => { |
| 217 | this.updateQueued = false |
| 218 | if (!this.destroyed) { |
| 219 | this.host.requestUpdate() |
| 220 | } |
| 221 | }) |
| 222 | } |
| 223 | |
| 224 | private queueQueryClientChanged(): void { |
| 225 | if (this.clientChangeQueued) { |
nothing calls this directly
no test coverage detected