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

Function withLogAddress

packages/effect/src/unstable/http/HttpServer.ts:256–261  ·  view source on GitHub ↗
(
  layer: Layer.Layer<A, E, R>
)

Source from the content-addressed store, hash-verified

254 * @since 4.0.0
255 */
256export const withLogAddress = <A, E, R>(
257 layer: Layer.Layer<A, E, R>
258): Layer.Layer<A, E, R | Exclude<HttpServer, A>> =>
259 Layer.effectDiscard(logAddress).pipe(
260 Layer.provideMerge(layer)
261 )
262
263/**
264 * Builds an `HttpClient` that sends requests to the current test HTTP server.

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected