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

Method set

frontend/layout/lib/nodeRefMap.ts:8–11  ·  view source on GitHub ↗
(id: string, ref: React.RefObject<HTMLDivElement>)

Source from the content-addressed store, hash-verified

6 generation: number = 0;
7
8 set(id: string, ref: React.RefObject<HTMLDivElement>) {
9 this.map.set(id, ref);
10 this.generation++;
11 }
12
13 delete(id: string) {
14 if (this.map.has(id)) {

Callers 15

buildEndFunction · 0.80
constructorMethod · 0.80
setTabViewIntoWindowMethod · 0.80
constructorMethod · 0.80
setWaveTabViewFunction · 0.80
initIpcHandlersFunction · 0.80
reinitWaveFunction · 0.80
initWaveFunction · 0.80
initBuilderFunction · 0.80
getNodeModelMethod · 0.80
getLayoutModelForTabFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected