effect-io-ai

Package: effect
Module: Layer

Layer.discard

Replaces the layer’s output with never and includes the layer only for its side-effects.

Signature

declare const discard: <RIn, E, ROut>(self: Layer<ROut, E, RIn>) => Layer<never, E, RIn>

Source

Since v2.0.0