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

Method stopAll

src/renderer/src/services/streamingManager.ts:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 async stopAll(): Promise<StreamingData[]> {
60 const messageIds = Array.from(this.dataMap.keys())
61 const results = await Promise.all(messageIds.map((messageId) => this.stop(messageId)))
62 return results.filter((item): item is StreamingData => item !== null)
63 }
64
65 reset(): void {
66 this.dataMap.clear()

Callers 1

stopActiveWorkFunction · 0.80

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected