PureOps

fs2.Stream$.PureOps
final implicit class PureOps[O](self: Stream[Pure, O]) extends AnyVal

Provides syntax for pure streams.

Attributes

Source
Stream.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

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].

Attributes

Source
Stream.scala
def covary[F[_]]: Stream[F, O]

Lifts this stream to the specified effect type.

Lifts this stream to the specified effect type.

Attributes

Source
Stream.scala
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.

Attributes

Source
Stream.scala
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.

Attributes

Source
Stream.scala
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.

Attributes

Source
Stream.scala