MCPcopy Create free account
hub / github.com/codeaashu/claude-code / subscribe

Function subscribe

src/ink/components/ScrollBox.tsx:189–192  ·  view source on GitHub ↗
(listener: () => void)

Source from the content-addressed store, hash-verified

187 return el.stickyScroll ?? Boolean(el.attributes['stickyScroll']);
188 },
189 subscribe(listener: () => void) {
190 listenersRef.current.add(listener);
191 return () => listenersRef.current.delete(listener);
192 },
193 setClampBounds(min, max) {
194 const el = domRef.current;
195 if (!el) return;

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected