MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/internal/ref.ts:46–46  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

44
45/** @internal */
46export const make = <A>(value: A): Effect.Effect<Ref.Ref<A>> => core.sync(() => unsafeMake(value))
47
48/** @internal */
49export const get = <A>(self: Ref.Ref<A>) => self.get

Callers

nothing calls this directly

Calls 2

syncMethod · 0.80
unsafeMakeFunction · 0.70

Tested by

no test coverage detected