MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / setOnOwnerNeedsUpdate

Function setOnOwnerNeedsUpdate

packages/debugger/src/main/roots.ts:26–28  ·  view source on GitHub ↗
(fn: typeof OnOwnerNeedsUpdate)

Source from the content-addressed store, hash-verified

24let OnOwnerNeedsUpdate: ((owner: Solid.Owner, rootId: NodeID) => void) | undefined
25/** Listens to owners that have their structure changed, because of roots */
26export function setOnOwnerNeedsUpdate(fn: typeof OnOwnerNeedsUpdate) {
27 OnOwnerNeedsUpdate = fn
28}
29let OnRootRemoved: ((rootId: NodeID) => void) | undefined
30/** Listens to roots that were removed */
31export function setOnRootRemoved(fn: typeof OnRootRemoved) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…