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

Function getCurrentRoots

packages/debugger/src/main/roots.ts:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20// map of all top-roots
21const RootMap = new Map<NodeID, Solid.Root>()
22export const getCurrentRoots = (): Iterable<Solid.Root> => RootMap.values()
23
24let OnOwnerNeedsUpdate: ((owner: Solid.Owner, rootId: NodeID) => void) | undefined
25/** Listens to owners that have their structure changed, because of roots */

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…