MCPcopy Create free account
hub / github.com/effect-app/libs / syncContext

Function syncContext

repos/effect/packages/effect/src/Layer.ts:935–936  ·  view source on GitHub ↗
(evaluate: LazyArg<Context.Context<A>>)

Source from the content-addressed store, hash-verified

933 return syncContext(() => Context.make(arguments[0], arguments[1]()))
934} as any
935
936/**
937 * Constructs a layer lazily that provides all services in a `Context`.
938 *
939 * **When to use**

Callers 1

Layer.tsFile · 0.85

Calls 3

constantFunction · 0.90
fromBuildMemoFunction · 0.85
syncMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…