Operator alias for zipParRight.
Operator alias for zipRight.
Operator alias for zipParLeft.
Operator alias for zipPar.
Operator alias for zipLeft.
Operator alias for zip.
Replaces this sink's result with the provided value.
Repeatedly runs the sink and accumulates its results into a chunk
Repeatedly runs the sink for as long as its results satisfy the predicate
p
.
Repeatedly runs the sink for as long as its results satisfy the predicate
p
. The sink's results will be accumulated using the stepping function
f
.
Collects the leftovers from the stream when the sink succeeds and returns them as part of the sink's result
Transforms this sink's input elements.
Transforms this sink's input chunks.
Transforms this sink's input chunks. f
must preserve chunking-invariance
Effectfully transforms this sink's input chunks.
Effectfully transforms this sink's input chunks. f
must preserve
chunking-invariance
Effectfully transforms this sink's input elements.
Transforms both inputs and result of this sink using the provided functions.
Transforms both input chunks and result of this sink using the provided functions.
Effectfully transforms both input chunks and result of this sink using the provided functions.
Effectfully transforms both input chunks and result of this sink using the
provided functions. f
and g
must preserve chunking-invariance
Effectfully transforms both inputs and result of this sink using the provided functions.
Returns a new sink with an attached finalizer.
Returns a new sink with an attached finalizer. The finalizer is guaranteed to be executed so long as the sink begins execution (and regardless of whether or not it completes).
Returns a new sink with an attached finalizer.
Returns a new sink with an attached finalizer. The finalizer is guaranteed to be executed so long as the sink begins execution (and regardless of whether or not it completes).
Filters the sink's input with the given predicate
Filters the sink's input with the given ZIO predicate
Creates a sink that produces values until one verifies the predicate f
.
Runs this sink until it yields a result, then uses that result to create another sink from the provided function which will continue to run until it yields a result.
Runs this sink until it yields a result, then uses that result to create another sink from the provided function which will continue to run until it yields a result.
This function essentially runs sinks in sequence.
Folds over the result of the sink
Drains the remaining elements from the stream after the sink finishes
Transforms this sink's result.
Transforms the errors emitted by this sink using f
.
Transforms the leftovers emitted by this sink using f
.
Effectfully transforms this sink's result.
Switch to another sink in case of failure
Provides the sink with its required environment, which eliminates its
dependency on R
.
Runs both sinks in parallel on the input, , returning the result or the error from the one that finishes first.
Runs both sinks in parallel on the input, returning the result or the error from the one that finishes first.
Runs both sinks in parallel on the input, using the specified merge function as soon as one result or the other has been computed.
Splits the sink on the specified predicate, returning a new sink that consumes elements until an element after the first satisfies the specified predicate.
Summarize a sink by running an effect when the sink starts and again when it completes
Returns the sink that executes this one and times its execution.
Converts ths sink to its underlying channel
Feeds inputs to this sink until it yields a result, then switches over to the provided sink until it yields a result, finally combining the two results into a tuple.
Like zip, but keeps only the result from the that
sink.
Runs both sinks in parallel on the input and combines the results in a tuple.
Like zipPar, but keeps only the result from this sink.
Like zipPar, but keeps only the result from the that
sink.
Like zip, but keeps only the result from this sink.
Feeds inputs to this sink until it yields a result, then switches over to
the provided sink until it yields a result, finally combining the two
results with f
.
Runs both sinks in parallel on the input and combines the results using the provided function.
Operator alias for race.