Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ get
Function
get
packages/effect/src/TxRef.ts:254–254 ·
view source on GitHub ↗
(self: TxRef<A>)
Source
from the content-addressed store, hash-verified
252
* @since 2.0.0
253
*/
254
export
const
get = <A>(self: TxRef<A>): Effect.Effect<A> => modify(self, (current) => [current, current])
255
256
/**
257
* Sets the value of the `TxRef`.
Callers
nothing calls this directly
Calls
1
modify
Function · 0.50
Tested by
no test coverage detected