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

Function registerActiveStream

apps/sim/lib/copilot/request/session/abort.ts:63–65  ·  view source on GitHub ↗
(streamId: string, controller: AbortController)

Source from the content-addressed store, hash-verified

61}
62
63export function registerActiveStream(streamId: string, controller: AbortController): void {
64 activeStreams.set(streamId, controller)
65}
66
67export function unregisterActiveStream(streamId: string): void {
68 activeStreams.delete(streamId)

Callers 1

createSSEStreamFunction · 0.90

Calls 1

setMethod · 0.65

Tested by

no test coverage detected