effect-io-ai

Package: effect
Module: Exit

Exit.fromEither

Converts an Either<R, L> into an Exit<R, L>.

Signature

declare const fromEither: <R, L>(either: Either.Either<R, L>) => Exit<R, L>

Source

Since v2.0.0