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