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

Function build

packages/effect/src/internal/layer.ts:339–342  ·  view source on GitHub ↗
(
  self: Layer.Layer<ROut, E, RIn>
)

Source from the content-addressed store, hash-verified

337
338/** @internal */
339export const build = <RIn, E, ROut>(
340 self: Layer.Layer<ROut, E, RIn>
341): Effect.Effect<Context.Context<ROut>, E, RIn | Scope.Scope> =>
342 fiberRuntime.scopeWith((scope) => buildWithScope(self, scope))
343
344/** @internal */
345export const buildWithScope = dual<

Callers 1

groupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected