Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ MutableRef.ts
File
MutableRef.ts
packages/effect/src/MutableRef.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Stores synchronous mutable state in a small reference object.
3
*
4
* A `MutableRef<A>` stores one current value and exposes it through `.current`.
Callers
nothing calls this directly
Calls
4
equals
Method · 0.80
get
Function · 0.70
f
Function · 0.50
set
Function · 0.50
Tested by
no test coverage detected