MCPcopy
hub / github.com/hello-pangea/dnd / notify

Function notify

src/state/registry/create-registry.ts:44–48  ·  view source on GitHub ↗
(event: RegistryEvent)

Source from the content-addressed store, hash-verified

42 }
43
44 function notify(event: RegistryEvent) {
45 if (subscribers.length) {
46 subscribers.forEach((cb) => cb(event));
47 }
48 }
49
50 function findDraggableById(id: DraggableId): DraggableEntry | null {
51 return entries.draggables[id] || null;

Callers 1

createRegistryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…