MCPcopy Create free account
hub / github.com/effect-app/libs / ScopedRef.ts

File ScopedRef.ts

repos/effect/packages/effect/src/ScopedRef.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Stores a current value together with the scope that owns it.
3 *
4 * A `ScopedRef<A>` is useful for resource-backed values such as clients,

Callers

nothing calls this directly

Calls 6

closeMethod · 0.80
addFinalizerMethod · 0.80
withPermitMethod · 0.80
makeUnsafeFunction · 0.70
pipeMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected