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

Function sync

packages/effect/src/internal/config.ts:592–594  ·  view source on GitHub ↗
(value: LazyArg<A>)

Source from the content-addressed store, hash-verified

590
591/** @internal */
592export const sync = <A>(value: LazyArg<A>): Config.Config<A> => {
593 return suspend(() => succeed(value()))
594}
595
596/** @internal */
597export const hashMap = <A>(config: Config.Config<A>, name?: string): Config.Config<HashMap.HashMap<string, A>> => {

Callers

nothing calls this directly

Calls 3

suspendFunction · 0.70
succeedFunction · 0.70
valueFunction · 0.70

Tested by

no test coverage detected