Lifts a function I => F[Unit]
to Sink[F,I]
.
Lifts a function I => F[Unit]
to Sink[F,I]
.
(Since version 1.0.2) Use stream.evalMap(f) instead
Sink that routes each element to one of two sinks.
Sink that routes each element to one of two sinks.
Left
values get sent to the left
sink, and likewise for Right
If either of left
or right
fails, then resulting stream will fail.
If either halts
the evaluation will halt too.
(Since version 1.0.2) Use stream.observeEither(left, right)
Sink that prints each string from the source to the supplied PrintStream
.
Sink that prints each string from the source to the supplied PrintStream
.
(Since version 1.0.2) Use stream.lines(out) instead
Sink that prints each element from the source to the supplied PrintStream
using the Show
instance for the input type.
Sink that prints each element from the source to the supplied PrintStream
using the Show
instance for the input type.
(Since version 1.0.2) Use stream.showLines(out) instead
Sink that prints each element from the source to the standard out
using the Show
instance for the input type.
Sink that prints each element from the source to the standard out
using the Show
instance for the input type.
(Since version 1.0.2) Use stream.showLinesStdOut instead
Companion for Sink.
(Since version 1.0.2) Use Pipe instead