PureOps

final class PureOps[O](self: Stream[Pure, O]) extends AnyVal
Provides syntax for pure streams.
class AnyVal
trait Matchable
class Any

Value members

Methods

def apply[F <: ([_$155] =>> Any)]: Stream[F, O]
Alias for covary, to be able to write Stream.empty[X].
def covary[F <: ([_$156] =>> Any)]: Stream[F, O]
Lifts this stream to the specified effect type.
def to(c: Collector[O]): Out
Runs this pure stream and returns the emitted elements in a collection of the specified type. Note: this method is only available on pure streams.
def toList: List[O]
Runs this pure stream and returns the emitted elements in a list. Note: this method is only available on pure streams.
def toVector: Vector[O]
Runs this pure stream and returns the emitted elements in a vector. Note: this method is only available on pure streams.