* If there is a pending sync, abort it and sync immediately.
()
| 412 | * If there is a pending sync, abort it and sync immediately. |
| 413 | */ |
| 414 | private flushSync() { |
| 415 | const pending = this.pendingSync(); |
| 416 | if (pending && !pending.signal.aborted) { |
| 417 | pending.abort(); |
| 418 | this.sync(); |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | /** |
| 423 | * Initiates a debounced {@link sync}. |
no test coverage detected