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

Function handleCreatedOwner

packages/debugger/src/main/index.ts:224–230  ·  view source on GitHub ↗
(owner: Solid.Owner)

Source from the content-addressed store, hash-verified

222 setup.solid.hooks.afterCreateOwner = handleCreatedOwner
223
224 function handleCreatedOwner(owner: Solid.Owner) {
225 if (isSolidRoot(owner)) {
226 attachDebugger(owner)
227 } else if (isSolidComponent(owner)) {
228 inspector.preObserveComponent(owner)
229 }
230 }
231
232
233 function emitInput(e: InputMessage) {

Callers 1

createDebuggerFunction · 0.85

Calls 3

isSolidRootFunction · 0.90
attachDebuggerFunction · 0.90
isSolidComponentFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…