(id: string)
| 661 | } |
| 662 | |
| 663 | async #schedulePendingSync(id: string): Promise<void> { |
| 664 | const scheduler = this.#retryScheduler; |
| 665 | if (scheduler === undefined) return; |
| 666 | await this.#serialize(id, async (resolvedId) => { |
| 667 | if (resolvedId === undefined || (await scheduler.get(resolvedId)) !== undefined) return; |
| 668 | await scheduler.schedule(this.#retryIntent(resolvedId, 1)); |
| 669 | }); |
| 670 | } |
| 671 | |
| 672 | #retryIntent(backend: string, attempt: number): SyncRetryIntent { |
| 673 | const delay = Math.min( |
no test coverage detected