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

Function throwAbortError

packages/kosong/src/generate.ts:250–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248};
249
250function throwAbortError(): never {
251 throw new DOMException('The operation was aborted.', 'AbortError');
252}
253
254async function cancelStream(stream: StreamedMessage): Promise<void> {
255 const cancelable = stream as CancelableStream;

Callers 2

generateFunction · 0.70
throwIfAbortedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected