MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / assertNotDisposed

Function assertNotDisposed

src/renderers/createHighlightRenderer.ts:104–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 let hasPrepared = false;
103
104 const assertNotDisposed = (): void => {
105 if (disposed) throw new Error('HighlightRenderer is disposed.');
106 };
107
108 const prepare: HighlightRenderer['prepare'] = (point, cssColor, sizeCssPx) => {
109 assertNotDisposed();

Callers 3

prepareFunction · 0.70
renderFunction · 0.70
setVisibleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected