- Companion:
- object
Value members
Concrete methods
Replaces this sink's result with the provided value.
Replaces this sink's result with the provided value.
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
.
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
.
Transforms this sink's input chunks. f
must preserve chunking-invariance
Transforms this sink's input chunks. f
must preserve chunking-invariance
Effectfully transforms this sink's input chunks. f
must preserve
chunking-invariance
Effectfully transforms this sink's input chunks. f
must preserve
chunking-invariance
Effectfully transforms this sink's input elements.
Effectfully transforms this sink's input elements.
Transforms both inputs and result of this sink using the provided functions.
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.
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 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.
Effectfully transforms both inputs and result of this sink using the provided functions.
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.
Transforms the errors emitted by this sink using f
.
Transforms the errors emitted by this sink using f
.
Provides the sink with its required environment, which eliminates its
dependency on R
.
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, 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.
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.
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
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.
Returns the sink that executes this one and times its execution.
Creates a sink that produces values until one verifies the predicate f
.
Creates a sink that produces values until one verifies the predicate f
.
Runs both sinks in parallel on the input and combines the results in a tuple.
Runs both sinks in parallel on the input and combines the results in a tuple.
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
.
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.
Runs both sinks in parallel on the input and combines the results using the provided function.