(source, tabId)
| 24 | } |
| 25 | |
| 26 | async function registerTab(source, tabId) { |
| 27 | const registry = await getTabRegistry(); |
| 28 | registry[source] = { tabId, ready: true }; |
| 29 | await setState({ tabRegistry: registry }); |
| 30 | console.log(LOG_PREFIX, `Tab registered: ${source} -> ${tabId}`); |
| 31 | } |
| 32 | |
| 33 | async function isTabAlive(source) { |
| 34 | const registry = await getTabRegistry(); |
no test coverage detected