(entry: Entry)
| 5769 | return ms === Infinity ? undefined : ms |
| 5770 | } |
| 5771 | const fireInterval = (entry: Entry): void => { |
| 5772 | // Paused: the due time stays, and the edge pass picks it up. |
| 5773 | if (paused() || entry.watchers.size === 0) return |
| 5774 | if (entry.fetch !== undefined) { |
| 5775 | // During a list's append it is owed. During a walk it is dropped, as during any fetch. |
| 5776 | if (entry.fetch.append) entry.owed ??= "interval" |
| 5777 | return |
| 5778 | } |
| 5779 | const build = survivingBuild(entry) |
| 5780 | if (build !== undefined) ensureFetch(entry, "interval", build) |
| 5781 | } |
| 5782 | const armInterval = (entry: Entry): void => { |
| 5783 | if (entry.intervalCancel !== undefined) entry.intervalCancel() |
| 5784 | entry.intervalCancel = undefined |
no test coverage detected