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

Function onStructureUpdate

packages/debugger/src/main/index.ts:149–156  ·  view source on GitHub ↗
(updates)

Source from the content-addressed store, hash-verified

147 //
148 const structure = createStructure({
149 onStructureUpdate(updates) {
150 emitOutput(msg('StructureUpdates', updates))
151 /** Check if the inspected node doesn't need to change */
152 setInspectedState(p => ({
153 ...p,
154 treeWalkerOwnerId: getTreeWalkerOwnerId(p.treeWalkerOwnerId),
155 }))
156 },
157 onNodeUpdate: pushNodeUpdate,
158 enabled: debuggerEnabled,
159 component_registry: component_registry,

Callers

nothing calls this directly

Calls 3

msgFunction · 0.90
emitOutputFunction · 0.85
getTreeWalkerOwnerIdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…