Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
close
Method · 0.80
addFinalizer
Method · 0.80
withPermit
Method · 0.80
makeUnsafe
Function · 0.70
pipe
Method · 0.65
provide
Method · 0.45
Tested by
no test coverage detected