A sink that collects all of its inputs into a list.
A sink that collects all of its inputs into a map.
A sink that collects all of its inputs into a map. The keys are extracted from inputs
using the keying function key
; if multiple inputs use the same key, they are merged
using the f
function.
A sink that collects all of its inputs into a set.
A sink that counts the number of elements fed to it.
Creates a sink halting with the specified Throwable
.
Creates a sink halting with the specified message, wrapped in a
RuntimeException
.
A sink that ignores its inputs.
A sink that always fails with the specified error.
A sink that folds its inputs with the provided function, termination predicate and initial state.
A sink that folds its input chunks with the provided function, termination predicate and initial state.
A sink that effectfully folds its input chunks with the provided function, termination predicate and initial state.
A sink that effectfully folds its input chunks with the provided function, termination predicate and initial state.
This sink may terminate in the middle of a chunk and discard the rest of it. See the discussion on the ZSink class scaladoc on sinks vs. transducers.
A sink that folds its inputs with the provided function and initial state.
A sink that folds its input chunks with the provided function and initial state.
A sink that effectfully folds its input chunks with the provided function and initial state.
A sink that effectfully folds its inputs with the provided function and initial state.
A sink that effectfully folds its inputs with the provided function, termination predicate and initial state.
A sink that effectfully folds its inputs with the provided function, termination predicate and initial state.
This sink may terminate in the middle of a chunk and discard the rest of it. See the discussion on the ZSink class scaladoc on sinks vs. transducers.
A sink that executes the provided effectful function for every element fed to it.
Creates a single-value sink produced from an effect
Creates a sink halting with a specified cause.
Creates a sink containing the first value.
Creates a sink containing the last value.
A sink that immediately ends with the specified value.
A sink that sums incoming numeric values.