MCPcopy
hub / github.com/anomalyco/opencode / build

Function build

packages/core/test/effect/layer-node/layer-node.test.ts:15–16  ·  view source on GitHub ↗
(root: LayerNode.Node<A, E, any>, replacements?: readonly LayerNode.Replacement[])

Source from the content-addressed store, hash-verified

13const tags = LayerNode.tags({ app: [] })
14const make = tags.make("app")
15const build = <A, E>(root: LayerNode.Node<A, E, any>, replacements?: readonly LayerNode.Replacement[]) =>
16 LayerNode.compile(root, replacements) as Layer.Layer<A, E>
17const valueLayer = Layer.succeed(Value, Value.of({ value: "production" }))
18const greetingLayer = Layer.effect(
19 Greeting,

Callers 1

layer-node.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected