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

Function make

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

Source from the content-addressed store, hash-verified

176 * @since 2.0.0
177 */
178export const make = <A>(value: A): Effect.Effect<Ref<A>> => Effect.sync(() => makeUnsafe(value))
179
180/**
181 * 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