MCPcopy 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 */
118export 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

getUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected