MCPcopy
hub / github.com/claude-code-best/claude-code / subscribe

Function subscribe

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected