(entry: Entry)
| 5708 | // -- interval --------------------------------------------------------------- |
| 5709 | const paused = (): boolean => !visibility.get() || !connectivity.get() |
| 5710 | const stopInterval = (entry: Entry): void => { |
| 5711 | if (entry.intervalCancel !== undefined) { |
| 5712 | entry.intervalCancel() |
| 5713 | entry.intervalCancel = undefined |
| 5714 | } |
| 5715 | entry.intervalDue = undefined |
| 5716 | } |
| 5717 | /** Worked out once per settle: a function form that throws or returns nonsense means none until the next. */ |
| 5718 | const intervalMs = (entry: Entry): number | undefined => { |
| 5719 | if (entry.result === undefined) return undefined |
no outgoing calls
no test coverage detected