MCPcopy Create free account
hub / github.com/apache/maka / throwIfChildExecutionAborted

Function throwIfChildExecutionAborted

packages/runtime/src/session-manager.ts:6770–6773  ·  view source on GitHub ↗
(signal: AbortSignal | undefined, message: string)

Source from the content-addressed store, hash-verified

6768}
6769
6770function throwIfChildExecutionAborted(signal: AbortSignal | undefined, message: string): void {
6771 if (!signal?.aborted) return;
6772 throw Object.assign(new Error(message), { name: 'AbortError' });
6773}
6774
6775// Re-export the suppressed-unused types so this file is the canonical home
6776// for them. (Avoids TS "imported but unused" warnings.)

Callers 5

resumeChildAgentMethod · 0.85
runChildAgentMethod · 0.85
retryChildAgentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected