MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / dispose

Function dispose

packages/node-sdk/examples/runtime-smoke-helpers.ts:117–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }, 120_000);
116
117 const dispose = (): void => {
118 clearTimeout(timeout);
119 unsubscribe?.();
120 unsubscribe = undefined;
121 };
122
123 const rejectAll = (error: Error): void => {
124 if (settled) return;

Callers 2

rejectAllFunction · 0.70
watchPromptStreamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected