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

Function updateOwner

packages/debugger/src/structure/index.ts:119–123  ·  view source on GitHub ↗
(node: Solid.Owner, topRootId: NodeID)

Source from the content-addressed store, hash-verified

117 const flushRootUpdateQueue = throttle(forceFlushRootUpdateQueue, 250)
118
119 function updateOwner(node: Solid.Owner, topRootId: NodeID): void {
120 updateQueue.add(node)
121 ownerRoots.set(node, topRootId)
122 flushRootUpdateQueue()
123 }
124
125 roots.setOnOwnerNeedsUpdate((node: Solid.Owner, topRootId: NodeID) => {
126 const closestIncludedOwner = getClosestIncludedOwner(node, treeWalkerMode)

Callers 2

onComputationUpdateFunction · 0.85
createStructureFunction · 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…