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

Function layerTest

packages/effect/src/Stdio.ts:152–162  ·  view source on GitHub ↗
(impl: Partial<Stdio>)

Source from the content-addressed store, hash-verified

150 * @since 4.0.0
151 */
152export const layerTest = (impl: Partial<Stdio>): Layer.Layer<Stdio> =>
153 Layer.succeed(
154 Stdio,
155 make({
156 args: Effect.succeed([]),
157 stdout: () => Sink.drain,
158 stderr: () => Sink.drain,
159 stdin: Stream.empty,
160 ...impl
161 })
162 )

Callers

nothing calls this directly

Calls 2

makeFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected