MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getBuilderWindowByWebContentsId

Function getBuilderWindowByWebContentsId

emain/emain-builder.ts:27–29  ·  view source on GitHub ↗
(webContentsId: number)

Source from the content-addressed store, hash-verified

25}
26
27export function getBuilderWindowByWebContentsId(webContentsId: number): BuilderWindowType {
28 return builderWindows.find((win) => win.webContents.id === webContentsId);
29}
30
31export function getAllBuilderWindows(): BuilderWindowType[] {
32 return builderWindows;

Callers 1

initIpcHandlersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected