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

Function layer

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

Source from the content-addressed store, hash-verified

342
343/** @internal */
344export const layer = (
345 evaluate: LazyArg<Http.Server>,
346 options: Net.ListenOptions
347) =>
348 Layer.mergeAll(
349 Layer.scoped(Server.HttpServer, make(evaluate, options)),
350 layerContext
351 )
352
353/** @internal */
354export const layerTest = Server.layerTestClient.pipe(

Callers 1

httpServer.tsFile · 0.70

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected