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

Function get

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

Source from the content-addressed store, hash-verified

198 * @since 2.0.0
199 */
200export const get = <A>(self: Ref<A>) => Effect.sync(() => self.ref.current)
201
202/**
203 * Sets the value of the Ref to the specified value.

Callers 12

MutableHashMap.tsFile · 0.70
hashGroupKeyFunction · 0.70
Array.tsFile · 0.70
evaluateFunction · 0.70
useFunction · 0.70
useSyncFunction · 0.70
Schema.tsFile · 0.70
makeSourceFunction · 0.70
constructorMethod · 0.70
constructorMethod · 0.70
Chunk.tsFile · 0.70
lastFunction · 0.70

Calls 1

syncMethod · 0.45

Tested by

no test coverage detected