(link: HTMLAnchorElement)
| 121 | const updateLink = batchedFunction(updateLinks, {delay: 200}); |
| 122 | |
| 123 | function updateDom(link: HTMLAnchorElement): void { |
| 124 | // `dropExtraCopy` is async so that errors in this part don't break the entire feature |
| 125 | void dropExtraCopy(link); |
| 126 | |
| 127 | updateLink(link); |
| 128 | } |
| 129 | |
| 130 | async function init(signal: AbortSignal): Promise<void> { |
| 131 | // For `sticky-comment-header` |
nothing calls this directly
no test coverage detected