Sink
Companion for Sink.
class Object
trait Matchable
class Any
Value members
Methods
@deprecated("Use stream.lines(out) instead", "1.0.2")
Sink that prints each string from the source to the supplied
PrintStream.@deprecated("Use stream.showLines(out) instead", "1.0.2")
def showLines[F <: ([_$4] =>> Any), I](out: PrintStream)(evidence$1: Sync[F], evidence$2: Show[I]): F => I
Sink that prints each element from the source to the supplied
using the
PrintStreamusing the
Show instance for the input type.@deprecated("Use stream.showLinesStdOut instead", "1.0.2")
Sink that prints each element from the source to the standard out
using the
using the
Show instance for the input type.@deprecated("Use stream.observeEither(left, right)", "1.0.2")
def either[F <: ([_$8] =>> Any), L, R](left: F => L, right: F => R)(evidence$5: Concurrent[F]): F => Either[L, R]
Sink that routes each element to one of two sinks.
Left values get sent to the left sink, and likewise for RightIf either of
If either
left or right fails, then resulting stream will fail.If either
halts the evaluation will halt too.