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

Function getWaveWindowByWorkspaceId

emain/emain-window.ts:674–680  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

672}
673
674export function getWaveWindowByWorkspaceId(workspaceId: string): WaveBrowserWindow {
675 for (const waveWindow of waveWindowMap.values()) {
676 if (waveWindow.workspaceId === workspaceId) {
677 return waveWindow;
678 }
679 }
680}
681
682export function getAllWaveWindows(): WaveBrowserWindow[] {
683 return Array.from(waveWindowMap.values());

Callers 4

handle_webselectorMethod · 0.90
handleWSEventFunction · 0.90
emain-window.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected