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

Function abort

packages/agent-core/test/session/subagent-batch.test.ts:864–866  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

862): SubagentHandle['completion'] {
863 return new Promise((resolve, reject) => {
864 const abort = () => {
865 reject(signal.reason ?? new Error('Aborted'));
866 };
867 signal.addEventListener('abort', abort, { once: true });
868 outcome.then(
869 (result) => {

Callers 1

createRpcPromiseMethod · 0.85

Calls 1

rejectFunction · 0.85

Tested by

no test coverage detected