effect-io-ai

Package: effect
Module: Take

Take.Take

Represents one pull result: either a non-empty batch of values, a failure Exit, or a successful Exit that signals completion with a Done value.

When to use

Use to store, transfer, or interpret pull results later while preserving emitted values, failures, and normal completion.

See

Signature

type Take<A, E, Done> = NonEmptyReadonlyArray<A> | Exit.Exit<Done, E>

Source

Since v2.0.0