MCPcopy Create free account
hub / github.com/experdot/pointer / stop

Method stop

src/renderer/src/services/streamingManager.ts:51–57  ·  view source on GitHub ↗
(messageId: string)

Source from the content-addressed store, hash-verified

49 }
50
51 async stop(messageId: string): Promise<StreamingData | null> {
52 const data = this.dataMap.get(messageId)
53 if (data?.aiService) {
54 await data.aiService.stopStreaming()
55 }
56 return this.finish(messageId)
57 }
58
59 async stopAll(): Promise<StreamingData[]> {
60 const messageIds = Array.from(this.dataMap.keys())

Callers 2

stopAllMethod · 0.95
useChatStreamingFunction · 0.80

Calls 3

finishMethod · 0.95
getMethod · 0.65
stopStreamingMethod · 0.45

Tested by

no test coverage detected