MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / dispose

Function dispose

runtime/src/index.js:125–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 onOutput(handler) { outputHandler = handler; },
124
125 dispose() {
126 worker.postMessage({ type: 'dispose' });
127 worker.terminate();
128 for (const cb of pending.values()) cb.reject(new Error('worker disposed'));
129 pending.clear();
130 },
131 };
132}
133

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected