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

Function sync

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

Source from the content-addressed store, hash-verified

603
604/** @internal */
605export const sync = <A>(value: LazyArg<A>): Config.Config<A> => {
606 return suspend(() => succeed(value()))
607}
608
609/** @internal */
610export 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