MCPcopy Create free account
hub / github.com/Effect-TS/effect / get

Function get

packages/effect/src/Ref.ts:206–206  ·  view source on GitHub ↗
(self: Ref<A>)

Source from the content-addressed store, hash-verified

204 * @since 2.0.0
205 */
206export const get = <A>(self: Ref<A>) => Effect.sync(() => self.ref.current)
207
208/**
209 * Sets the value of the Ref to the specified value.

Callers 9

MutableHashMap.tsFile · 0.70
batchKeyFunction · 0.70
Array.tsFile · 0.70
makeSourceFunction · 0.70
constructorMethod · 0.70
constructorMethod · 0.70
Chunk.tsFile · 0.70
lastFunction · 0.70
ScopedCache.tsFile · 0.70

Calls 1

syncMethod · 0.45

Tested by

no test coverage detected