effect-io-ai

Package: effect
Module: Layer

Layer.orDie

Translates effect failure into death of the fiber, making all failures unchecked and not a part of the type of the layer.

Signature

declare const orDie: <A, E, R>(self: Layer<A, E, R>) => Layer<A, never, R>

Source

Since v2.0.0