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

Method getInstance

frontend/app/block/block-model.ts:41–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 static getInstance(): BlockModel {
42 if (!BlockModel.instance) {
43 BlockModel.instance = new BlockModel();
44 }
45 return BlockModel.instance;
46 }
47
48 static resetInstance(): void {
49 BlockModel.instance = null;

Callers 2

blockframe.tsxFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected