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

Function syncContext

packages/effect/src/internal/layer.ts:1040–1042  ·  view source on GitHub ↗
(evaluate: LazyArg<Context.Context<A>>)

Source from the content-addressed store, hash-verified

1038
1039/** @internal */
1040export const syncContext = <A>(evaluate: LazyArg<Context.Context<A>>): Layer.Layer<A> => {
1041 return fromEffectContext(core.sync(evaluate))
1042}
1043
1044/** @internal */
1045export const tap = dual<

Callers

nothing calls this directly

Calls 2

fromEffectContextFunction · 0.85
syncMethod · 0.80

Tested by

no test coverage detected