MCPcopy
hub / github.com/wavetermdev/waveterm / getWaveWindowByTabId

Function getWaveWindowByTabId

emain/emain-window.ts:651–657  ·  view source on GitHub ↗
(tabId: string)

Source from the content-addressed store, hash-verified

649}
650
651export function getWaveWindowByTabId(tabId: string): WaveBrowserWindow {
652 for (const ww of waveWindowMap.values()) {
653 if (ww.allLoadedTabViews.has(tabId)) {
654 return ww;
655 }
656 }
657}
658
659export function getWaveWindowByWebContentsId(webContentsId: number): WaveBrowserWindow {
660 if (webContentsId == null) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected