effect-io-ai

Package: effect
Module: Sink

Sink.leftover

Creates a sink that does not consume any input but provides the given chunk as its leftovers

Signature

declare const leftover: <L>(chunk: Chunk.Chunk<L>) => Sink<void, unknown, L>

Source

Since v2.0.0