effect-io-ai

Package: effect
Module: Exit

Exit.Exit.Proto

Base interface shared by both Success and Failure.

When to use

Use to describe the common protocol implemented by every Exit value.

Details

Every Exit is also an Effect, so you can yield it in Effect.gen.

Signature

export interface Proto<out A, out E = never> extends Effect.Effect<A, E> {
    readonly [TypeId]: typeof TypeId
  }

Source

Since v4.0.0