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

Function layer

packages/platform-node/src/internal/httpServer.ts:335–342  ·  view source on GitHub ↗
(
  evaluate: LazyArg<Http.Server>,
  options: Net.ListenOptions
)

Source from the content-addressed store, hash-verified

333
334/** @internal */
335export const layer = (
336 evaluate: LazyArg<Http.Server>,
337 options: Net.ListenOptions
338) =>
339 Layer.mergeAll(
340 Layer.scoped(Server.HttpServer, make(evaluate, options)),
341 layerContext
342 )
343
344/** @internal */
345export const layerTest = Server.layerTestClient.pipe(

Callers 1

httpServer.tsFile · 0.70

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected