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

Function syncContext

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

fromEffectContextFunction · 0.85
syncMethod · 0.80

Tested by

no test coverage detected