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

Function isDisposed

packages/debugger/src/main/utils.ts:155–159  ·  view source on GitHub ↗
(o: Readonly<Solid.Owner>)

Source from the content-addressed store, hash-verified

153 * Checks if the passed owner is disposed.
154 */
155export function isDisposed(o: Readonly<Solid.Owner>): boolean {
156 return !!(isSolidComputation(o)
157 ? o.owner && (!o.owner.owned || !o.owner.owned.includes(o))
158 : (o as Solid.Root).isDisposed)
159}
160
161export function onCleanup(fn: () => void) {
162 let owner = setup.solid.getOwner()

Callers 1

getClosestIncludedOwnerFunction · 0.90

Calls 1

isSolidComputationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…