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