Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ update
Method
update
packages/effect/src/unstable/reactivity/AtomRef.ts:189–191 ·
view source on GitHub ↗
(f: (value: A) => A)
Source
from the content-addressed store, hash-verified
187
}
188
189
update(f: (value: A) => A) {
190
return
this.set(f(this.value))
191
}
192
}
193
194
class
MapRefImpl<A, B> implements ReadonlyRef<B> {
Callers
3
Atom.ts
File · 0.45
makeRepository
Function · 0.45
HttpClient.ts
File · 0.45
Calls
2
set
Method · 0.95
f
Function · 0.50
Tested by
no test coverage detected