PureOps

final class PureOps[O](self: Stream[Pure, O]) extends AnyVal

Provides syntax for pure streams.

Provides syntax for pure streams.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]]: Stream[F, O]

Alias for covary, to be able to write Stream.empty[X].

Alias for covary, to be able to write Stream.empty[X].

def covary[F[_]]: Stream[F, O]

Lifts this stream to the specified effect type.

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.

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.

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.

Runs this pure stream and returns the emitted elements in a vector. Note: this method is only available on pure streams.