(entry: Entry)
| 5702 | if (entry.idle === undefined) startIdle(entry) |
| 5703 | } |
| 5704 | const resetIdle = (entry: Entry): void => { |
| 5705 | if (entry.idle !== undefined) entry.idle.expiresAt = now() + idleTtl(entry) |
| 5706 | } |
| 5707 | |
| 5708 | // -- interval --------------------------------------------------------------- |
| 5709 | const paused = (): boolean => !visibility.get() || !connectivity.get() |