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

Function layerServer

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

Source from the content-addressed store, hash-verified

329
330/** @internal */
331export const layerServer = (
332 evaluate: LazyArg<Http.Server>,
333 options: Net.ListenOptions
334) => Layer.scoped(Server.HttpServer, make(evaluate, options))
335
336/** @internal */
337export const layerContext = Layer.mergeAll(

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected