MCPcopy
hub / github.com/Effect-TS/effect / layerServer

Function layerServer

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

Source from the content-addressed store, hash-verified

320
321/** @internal */
322export const layerServer = (
323 evaluate: LazyArg<Http.Server>,
324 options: Net.ListenOptions
325) => Layer.scoped(Server.HttpServer, make(evaluate, options))
326
327/** @internal */
328export const layerContext = Layer.mergeAll(

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected