FallibleOps

final class FallibleOps[O](self: Stream[[A] =>> Fallible[A], O]) extends AnyVal
Provides syntax for fallible streams.
class AnyVal
trait Matchable
class Any

Value members

Methods

def lift[F <: ([_$159] =>> Any)](F: ApplicativeError[F, Throwable]): Stream[F, O]
Lifts this stream to the specified effect type.
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.
def toList: Either[Throwable, List[O]]
Runs this fallible stream and returns the emitted elements in a list. Note: this method is only available on fallible streams.
def toVector: Either[Throwable, Vector[O]]
Runs this fallible stream and returns the emitted elements in a vector. Note: this method is only available on fallible streams.