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

Function get

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

Source from the content-addressed store, hash-verified

120 * @since 2.0.0
121 */
122export const get = <A>(self: SynchronizedRef<A>): Effect.Effect<A> => Effect.sync(() => getUnsafe(self))
123
124/**
125 * Sets a new value atomically and returns the previous value, serialized by the

Callers

nothing calls this directly

Calls 2

getUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected