Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ get
Function
get
packages/effect/src/ScopedRef.ts:118–118 ·
view source on GitHub ↗
(self: ScopedRef<A>)
Source
from the content-addressed store, hash-verified
116
* @since 2.0.0
117
*/
118
export
const
get = <A>(self: ScopedRef<A>): Effect.Effect<A> => Effect.sync(() => getUnsafe(self))
119
120
/**
121
* Creates a
new
`ScopedRef` from the specified value.
Callers
nothing calls this directly
Calls
2
getUnsafe
Function · 0.70
sync
Method · 0.45
Tested by
no test coverage detected