effect-io-ai

Package: effect
Module: Sink

Sink.End

Tuple returned when a Sink finishes.

Details

The first element is the sink result. The optional second element contains a non-empty array of leftover input that was pulled but not consumed.

Signature

type End<A, L> = readonly [value: A, leftover?: NonEmptyReadonlyArray<L> | undefined]

Source

Since v4.0.0