effect-io-ai

Package: effect
Module: Effect

Effect.dieSync

Creates an effect that dies with the specified error, evaluated lazily.

Details

This function allows you to create an effect that will terminate with a fatal error. The error is provided as a lazy argument, meaning it will only be evaluated when the effect runs.

See

Signature

declare const dieSync: (evaluate: LazyArg<unknown>) => Effect<never>

Source

Since v2.0.0