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

Function make

packages/effect/src/TxRef.ts:101–101  ·  view source on GitHub ↗
(initial: A)

Source from the content-addressed store, hash-verified

99 * @since 2.0.0
100 */
101export const make = <A>(initial: A) => Effect.sync(() => makeUnsafe(initial))
102
103/**
104 * Creates a new `TxRef` synchronously with the specified initial value.

Callers

nothing calls this directly

Calls 2

makeUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected