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

Function make

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

Source from the content-addressed store, hash-verified

171 * @since 2.0.0
172 */
173export const make = <A>(value: A): Effect.Effect<Ref<A>> => Effect.sync(() => makeUnsafe(value))
174
175/**
176 * Gets the current value of the Ref.

Callers 15

fromRecordFunction · 0.70
ServiceFunction · 0.70
LayerRef.tsFile · 0.70
declareConstructorFunction · 0.70
Schema.tsFile · 0.70
flipFunction · 0.70
LiteralFunction · 0.70
TemplateLiteralFunction · 0.70
TemplateLiteralParserFunction · 0.70
EnumFunction · 0.70
UniqueSymbolFunction · 0.70
makeStructFunction · 0.70

Calls 2

makeUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected