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

Function setOnRootRemoved

packages/debugger/src/main/roots.ts:31–33  ·  view source on GitHub ↗
(fn: typeof OnRootRemoved)

Source from the content-addressed store, hash-verified

29let OnRootRemoved: ((rootId: NodeID) => void) | undefined
30/** Listens to roots that were removed */
31export function setOnRootRemoved(fn: typeof OnRootRemoved) {
32 OnRootRemoved = fn
33}
34
35export function createTopRoot(owner: Solid.Root): void {
36 const rootId = getSdtId(owner, ObjectType.Owner)

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…