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

Method subscribe

src/renderer/src/services/streamingManager.ts:81–84  ·  view source on GitHub ↗
(callback: Listener)

Source from the content-addressed store, hash-verified

79 }
80
81 subscribe(callback: Listener): () => void {
82 this.listeners.add(callback)
83 return () => this.listeners.delete(callback)
84 }
85
86 private scheduleNotify(): void {
87 if (this.rafId !== null) return

Callers 2

MessageList.tsxFile · 0.80
ChatEditorFunction · 0.80

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected