FallibleOps

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

Provides syntax for fallible streams.

Attributes

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

Members list

Value members

Concrete methods

def lift[F[_]](implicit F: ApplicativeError[F, Throwable]): 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]): Either[Throwable, Out]

Runs this fallible stream and returns the emitted elements in a collection of the specified type. Note: this method is only available on fallible streams.

Runs this fallible stream and returns the emitted elements in a collection of the specified type. Note: this method is only available on fallible streams.

Attributes

Source
Stream.scala

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

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

Attributes

Source
Stream.scala

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

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

Attributes

Source
Stream.scala