MCPcopy Create free account
hub / github.com/simstudioai/sim / isAborted

Function isAborted

apps/sim/lib/copilot/request/lifecycle/run.ts:1011–1013  ·  view source on GitHub ↗
(options: CopilotLifecycleOptions, context: StreamingContext)

Source from the content-addressed store, hash-verified

1009}
1010
1011function isAborted(options: CopilotLifecycleOptions, context: StreamingContext): boolean {
1012 return !!(options.abortSignal?.aborted || context.wasAborted)
1013}
1014
1015function cancelPendingTools(context: StreamingContext): void {
1016 for (const [, toolCall] of context.toolCalls) {

Callers 3

driveOneChildChainFunction · 0.85
runCheckpointLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected