Creates a sink that waits for a single value to be produced.
Creates a sink accumulating incoming values into a list.
Accumulates incoming elements into a list as long as they verify predicate p.
Accumulates incoming elements into a list as long as they verify effectful predicate p.
Creates a sink consuming all incoming values until completion.
Creates a sink failing with a value of type E.
Creates a sink by folding over a structure of type S.
Creates a sink by folding over a structure of type S.
Creates a sink by effectfully folding over a structure of type S.
Creates a single-value sink produced from an effect
Creates a sink that purely transforms incoming values.
Uses the provided OutputStream to create a ZSink that consumes byte chunks
and writes them to the OutputStream.
Uses the provided OutputStream to create a ZSink that consumes byte chunks
and writes them to the OutputStream. The sink will yield the count of bytes written.
The caller of this function is responsible for closing the OutputStream.
Creates a sink by that merely passes on incoming values.
Creates a sink by starts consuming value as soon as one verifies
the predicate p.
Creates a sink by starts consuming value as soon as one verifies
the effectful predicate p.
Returns a sink that must at least perform one extraction or else
will "fail" with end.
Creates a sink that consumes the first value verifying the predicate p
or fails as soon as the sink won't make any more progress.
Creates a single-value sink from a lazily-evaluated value.