MCPcopy Index your code
hub / github.com/simstudioai/sim / getChatStreamLockKey

Function getChatStreamLockKey

apps/sim/lib/copilot/request/session/abort.ts:59–61  ·  view source on GitHub ↗
(chatId: string)

Source from the content-addressed store, hash-verified

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

Callers 5

waitForPendingChatStreamFunction · 0.85
getPendingChatStreamIdFunction · 0.85
releasePendingChatStreamFunction · 0.85
acquirePendingChatStreamFunction · 0.85
startAbortPollerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected