Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ SynchronizedRef.ts
File
SynchronizedRef.ts
packages/effect/src/SynchronizedRef.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Stores mutable state whose updates run one at a time.
3
*
4
* A `SynchronizedRef<A>` behaves like a `Ref<A>`
for
reading and simple state
Callers
nothing calls this directly
Calls
8
withPermit
Method · 0.80
getUnsafe
Function · 0.70
modify
Method · 0.65
set
Method · 0.65
f
Function · 0.50
map
Method · 0.45
succeed
Method · 0.45
update
Method · 0.45
Tested by
no test coverage detected