Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ get
Function
get
packages/effect/src/internal/stm/tRef.ts:59–59 ·
view source on GitHub ↗
(self: TRef.TRef<A>)
Source
from the content-addressed store, hash-verified
57
58
/** @internal */
59
export
const
get = <A>(self: TRef.TRef<A>) => self.modify((a) => [a, a])
60
61
/** @internal */
62
export
const
set = dual<
Callers
1
tMap.ts
File · 0.70
Calls
1
modify
Method · 0.65
Tested by
no test coverage detected