MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / notifySubscribers

Function notifySubscribers

src/components/Tooltip/anchor-registry.ts:43–45  ·  view source on GitHub ↗
(entry: AnchorRegistryEntry)

Source from the content-addressed store, hash-verified

41}
42
43function notifySubscribers(entry: AnchorRegistryEntry) {
44 entry.subscribers.forEach((subscriber) => subscriber(entry.anchors, entry.error))
45}
46
47function refreshEntry(selector: string, entry: AnchorRegistryEntry) {
48 const nextState = readAnchorsForSelector(selector)

Callers 1

refreshEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected