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

Function make

packages/effect/src/SynchronizedRef.ts:91–91  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

89 * @since 2.0.0
90 */
91export const make = <A>(value: A): Effect.Effect<SynchronizedRef<A>> => Effect.sync(() => makeUnsafe(value))
92
93/**
94 * Reads the current value synchronously, bypassing the `Effect` API and the

Callers

nothing calls this directly

Calls 2

makeUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected