()
| 76 | let syncInterval |
| 77 | |
| 78 | const syncLoop = async () => { |
| 79 | await syncRun() |
| 80 | |
| 81 | if (wasCancelled) return |
| 82 | |
| 83 | syncInterval = setTimeout(syncLoop, 1000 * 60) // sync every minute |
| 84 | } |
| 85 | |
| 86 | // Block until the first sync is done |
| 87 | await syncLoop() |
no test coverage detected
searching dependent graphs…