(chatId: string)
| 57 | } |
| 58 | |
| 59 | function getChatStreamLockKey(chatId: string): string { |
| 60 | return `copilot:chat-stream-lock:${chatId}` |
| 61 | } |
| 62 | |
| 63 | export function registerActiveStream(streamId: string, controller: AbortController): void { |
| 64 | activeStreams.set(streamId, controller) |
no outgoing calls
no test coverage detected