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

Method finish

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

Source from the content-addressed store, hash-verified

37 }
38
39 finish(messageId: string): StreamingData | null {
40 const result = this.dataMap.get(messageId) ?? null
41 this.dataMap.delete(messageId)
42 this.notify()
43 return result
44 }
45
46 abort(messageId: string): void {
47 this.dataMap.delete(messageId)

Callers 2

stopMethod · 0.95
useChatStreamingFunction · 0.80

Calls 3

notifyMethod · 0.95
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected