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

Method getInstance

frontend/app/store/focusManager.ts:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 static getInstance(): FocusManager {
32 if (!FocusManager.instance) {
33 FocusManager.instance = new FocusManager();
34 }
35 return FocusManager.instance;
36 }
37
38 setWaveAIFocused(force: boolean = false) {
39 const isAlreadyFocused = globalStore.get(this.focusType) == "waveai";

Callers 1

refocusNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected