Package: effect
Module: Sink
Collects the leftovers from the stream when the sink succeeds and returns them as part of the sink’s result.
Signature
declare const collectLeftover: <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<[A, Chunk.Chunk<L>], In, never, E, R>
Since v2.0.0