final class Stream[+F[_], +O] extends AnyRef
A stream producing output of type O
and which may evaluate F
effects. If F
is Nothing
or fs2.Pure
, the stream is pure.
Laws (using infix syntax):
append
forms a monoid in conjunction with empty
:
empty append s == s
ands append empty == s
. -(s1 append s2) append s3 == s1 append (s2 append s3)
And push
is consistent with using append
to prepend a single chunk:
-push(c)(s) == chunk(c) append s
fail
propagates until being caught by onError
:
fail(e) onError h == h(e)
fail(e) append s == fail(e)
fail(e) flatMap f == fail(e)
Stream
forms a monad with emit
and flatMap
:
emit >=> f == f
f >=> emit == f
(f >=> g) >=> h == f >=> (g >=> h)
whereemit(a)
is defined aschunk(Chunk.singleton(a)) and
f >=> gis defined as
a => a flatMap f flatMap g
The monad is the list-style sequencing monad:
(a append b) flatMap f == (a flatMap f) append (b flatMap f)
empty flatMap f == empty
- Self Type
- Stream[F, O]
- Source
- Stream.scala
- Alphabetic
- By Inheritance
- Stream
- AnyRef
- Any
- by covaryPure
- by StreamPureOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ++[G[_], Lub[_], O2 >: O](s2: ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[F, G, Lub]): Stream[Lub, O2]
-
def
->[B](y: B): (Stream[F, O], B)
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to ArrowAssoc[Stream[F, O]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if F is a subclass of Pure (F <: Pure) and at the same time O is a subclass of Option[Nothing] (O <: Option[Nothing]).
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append[G[_], Lub[_], O2 >: O](s2: ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[F, G, Lub]): Stream[Lub, O2]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attempt: Stream[F, Attempt[O]]
-
def
buffer(n: Int): Stream[F, O]
Alias for
self through pipe.buffer
. -
def
bufferAll: Stream[F, O]
Alias for
self through pipe.bufferAll
. -
def
bufferBy(f: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.bufferBy
. -
def
changes: Stream[F, O]
Alias for
self through pipe.changes
. -
def
changesBy[O2](f: (O) ⇒ O2): Stream[F, O]
Alias for
self through pipe.changesBy
. -
def
chunkLimit(n: Int): Stream[F, NonEmptyChunk[O]]
Alias for
self through pipe.chunkLimit
. -
def
chunkN(n: Int, allowFewer: Boolean = true): Stream[F, List[NonEmptyChunk[O]]]
Alias for
self through pipe.chunkN
. -
def
chunks: Stream[F, NonEmptyChunk[O]]
Alias for
self through pipe.chunks
. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
collect[O2](pf: PartialFunction[O, O2]): Stream[F, O2]
Alias for
self through pipe.collect
. -
def
collectFirst[O2](pf: PartialFunction[O, O2]): Stream[F, O2]
Alias for
self through pipe.collectFirst
. -
def
cons[O2 >: O](c: Chunk[O2])(implicit T: RealSupertype[O, O2]): Stream[F, O2]
Prepend a single chunk onto the front of this stream.
-
def
cons1[O2 >: O](a: O2)(implicit T: RealSupertype[O, O2]): Stream[F, O2]
Prepend a single value onto the front of this stream.
-
def
covary[F2[_]](implicit S: Sub1[F, F2]): Stream[F2, O]
Converts this stream to a stream of the specified subtype.
-
def
delete(f: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.delete
. - def drain: Stream[F, Nothing]
-
def
drop(n: Long): Stream[F, O]
Alias for
self through pipe.drop
. -
def
dropLast: Stream[F, O]
Alias for
self through pipe.dropLast
. -
def
dropLastIf(p: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.dropLastIf
. -
def
dropRight(n: Int): Stream[F, O]
Alias for
self through pipe.dropRight
. -
def
dropWhile(p: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.dropWhile
-
def
either[F2[_], O2](s2: Stream[F2, O2])(implicit arg0: Async[F2], S: Sub1[F, F2]): Stream[F2, Either[O, O2]]
Alias for
(this through2v s2)(pipe2.either)
. - def ensuring(cond: (Stream[F, O]) ⇒ Boolean, msg: ⇒ Any): Stream[F, O]
- def ensuring(cond: (Stream[F, O]) ⇒ Boolean): Stream[F, O]
- def ensuring(cond: Boolean, msg: ⇒ Any): Stream[F, O]
- def ensuring(cond: Boolean): Stream[F, O]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def evalMap[G[_], Lub[_], O2](f: (O) ⇒ G[O2])(implicit L: Lub1[F, G, Lub]): Stream[Lub, O2]
-
def
exists(f: (O) ⇒ Boolean): Stream[F, Boolean]
Alias for
self through pipe.exists
. - def fetchAsync[F2[_], O2 >: O](implicit F2: Async[F2], S: Sub1[F, F2], T: RealSupertype[O, O2]): Stream[F2, ScopedFuture[F2, Stream[F2, O2]]]
-
def
filter(f: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.filter
. -
def
filterWithPrevious(f: (O, O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.filterWithPrevious
. -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(f: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.find
. - def flatMap[G[_], Lub[_], O2](f: (O) ⇒ Stream[G, O2])(implicit L: Lub1[F, G, Lub]): Stream[Lub, O2]
-
def
fold[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[F, O2]
Alias for
self through pipe.fold(z)(f)
. -
def
fold1[O2 >: O](f: (O2, O2) ⇒ O2): Stream[F, O2]
Alias for
self through pipe.fold1(f)
. -
def
forall(f: (O) ⇒ Boolean): Stream[F, Boolean]
Alias for
self through pipe.forall
. - def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def interleave[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2]): Stream[F2, O2]
- def interleaveAll[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2]): Stream[F2, O2]
-
def
interruptWhen[F2[_]](haltWhenTrue: Signal[F2, Boolean])(implicit S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O]
Alias for
(haltWhenTrue.discrete through2 this)(pipe2.interrupt)
. -
def
interruptWhen[F2[_]](haltWhenTrue: Stream[F2, Boolean])(implicit S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O]
Alias for
(haltWhenTrue through2 this)(pipe2.interrupt)
. -
def
intersperse[O2 >: O](separator: O2): Stream[F, O2]
Alias for
self through pipe.intersperse
. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
last: Stream[F, Option[O]]
Alias for
self through pipe.last
. -
def
lastOr[O2 >: O](li: ⇒ O2): Stream[F, O2]
Alias for
self through pipe.lastOr
. - def map[O2](f: (O) ⇒ O2): Stream[F, O2]
-
def
mapAccumulate[S, O2](init: S)(f: (S, O) ⇒ (S, O2)): Stream[F, (S, O2)]
Alias for
self through pipe.mapAccumulate
- def mapChunks[O2](f: (Chunk[O]) ⇒ Chunk[O2]): Stream[F, O2]
- def mask: Stream[F, O]
- def merge[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O2]
- def mergeDrainL[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O2]
- def mergeDrainR[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O]
- def mergeHaltBoth[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O2]
- def mergeHaltL[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O2]
- def mergeHaltR[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O2]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneTerminate: Stream[F, Option[O]]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def observe[F2[_], O2 >: O](sink: Sink[F2, O2])(implicit F: Async[F2], R: RealSupertype[O, O2], S: Sub1[F, F2]): Stream[F2, O2]
- def observeAsync[F2[_], O2 >: O](sink: Sink[F2, O2], maxQueued: Int)(implicit F: Async[F2], R: RealSupertype[O, O2], S: Sub1[F, F2]): Stream[F2, O2]
- def onError[G[_], Lub[_], O2 >: O](f: (Throwable) ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[F, G, Lub]): Stream[Lub, O2]
- def onFinalize[F2[_]](f: F2[Unit])(implicit S: Sub1[F, F2], F2: Applicative[F2]): Stream[F2, O]
- def open: Pull[F, Nothing, Handle[F, O]]
- def output: Pull[F, O, Unit]
-
def
prefetch[F2[_]](implicit S: Sub1[F, F2], F2: Async[F2]): Stream[F2, O]
Alias for
self through pipe.prefetch(f).
- def pull[F2[_], O2](using: (Handle[F, O]) ⇒ Pull[F2, O2, Any])(implicit S: Sub1[F, F2]): Stream[F2, O2]
-
def
pure(implicit S: Sub1[F, Pure]): Stream[Pure, O]
Converts a
Stream[Nothing,O]
in to aStream[Pure,O]
. -
def
rechunkN(n: Int, allowFewer: Boolean = true): Stream[F, O]
Alias for
self through pipe.rechunkN(f).
-
def
reduce[O2 >: O](f: (O2, O2) ⇒ O2): Stream[F, O2]
Alias for
self through pipe.reduce(z)(f)
. -
def
repeat: Stream[F, O]
Repeat this stream an infinite number of times.
Repeat this stream an infinite number of times.
s.repeat == s ++ s ++ s ++ ...
- def runFoldFree[O2](z: O2)(f: (O2, O) ⇒ O2): Free[F, O2]
- def runFree: Free[F, Unit]
- def runLogFree: Free[F, Vector[O]]
-
def
scan[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[F, O2]
Alias for
self through pipe.scan(z)(f)
. -
def
scan1[O2 >: O](f: (O2, O2) ⇒ O2): Stream[F, O2]
Alias for
self through pipe.scan1(f)
. - def scope: Stream[F, O]
-
def
shiftRight[O2 >: O](head: O2*): Stream[F, O2]
Alias for
self through pipe.shiftRight
. -
def
sliding(n: Int): Stream[F, Vector[O]]
Alias for
self through pipe.sliding
. -
def
split(f: (O) ⇒ Boolean): Stream[F, Vector[O]]
Alias for
self through pipe.split
. - def step: Pull[F, Nothing, (NonEmptyChunk[O], Handle[F, O])]
- def stepAsync[F2[_], O2 >: O](implicit S: Sub1[F, F2], F2: Async[F2], T: RealSupertype[O, O2]): Pull[F2, Nothing, ScopedFuture[F2, Pull[F2, Nothing, (NonEmptyChunk[O2], Handle[F2, O2])]]]
-
def
sum[O2 >: O](implicit arg0: Numeric[O2]): Stream[F, O2]
Alias for
self through pipe.sum(f)
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Stream[F, O]
Alias for
self through pipe.tail
. -
def
take(n: Long): Stream[F, O]
Alias for
self through pipe.take(n)
. -
def
takeRight(n: Long): Stream[F, O]
Alias for
self through pipe.takeRight
. -
def
takeThrough(p: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.takeThrough
. -
def
takeWhile(p: (O) ⇒ Boolean): Stream[F, O]
Alias for
self through pipe.takeWhile
. -
def
through2v[F2[_], O2, O3](s2: Stream[F2, O2])(f: Pipe2[F2, O, O2, O3])(implicit S: Sub1[F, F2]): Stream[F2, O3]
Like
through2
, but the specifiedPipe2
's effect may be a supertype ofF
. -
def
throughv[F2[_], O2](f: Pipe[F2, O, O2])(implicit S: Sub1[F, F2]): Stream[F2, O2]
Like
through
, but the specifiedPipe
's effect may be a supertype ofF
. -
def
toList: List[O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to StreamPureOps[O] performed by method StreamPureOps in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Definition Classes
- StreamPureOps
-
def
toString(): String
- Definition Classes
- Stream → AnyRef → Any
-
def
toVector: Vector[O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to StreamPureOps[O] performed by method StreamPureOps in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Definition Classes
- StreamPureOps
-
def
tov[F2[_]](f: Sink[F2, O])(implicit S: Sub1[F, F2]): Stream[F2, Unit]
Like
to
, but the specifiedSink
's effect may be a supertype ofF
. - def translate[G[_]](u: ~>[F, G]): Stream[G, O]
-
def
unchunk: Stream[F, O]
Alias for
self through pipe.unchunk
. - def uncons: Stream[F, Option[(NonEmptyChunk[O], Stream[F, O])]]
- def uncons1: Stream[F, Option[(O, Stream[F, O])]]
-
def
vectorChunkN(n: Int, allowFewer: Boolean = true): Stream[F, Vector[O]]
Alias for
self through pipe.vectorChunkN
. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def zip[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[F, F2]): Stream[F2, (O, O2)]
- def zipWith[F2[_], O2, O3](s2: Stream[F2, O2])(f: (O, O2) ⇒ O3)(implicit S: Sub1[F, F2]): Stream[F2, O3]
-
def
zipWithIndex: Stream[F, (O, Int)]
Alias for
self through pipe.zipWithIndex
. -
def
zipWithNext: Stream[F, (O, Option[O])]
Alias for
self through pipe.zipWithNext
. -
def
zipWithPrevious: Stream[F, (Option[O], O)]
Alias for
self through pipe.zipWithPrevious
. -
def
zipWithPreviousAndNext: Stream[F, (Option[O], O, Option[O])]
Alias for
self through pipe.zipWithPreviousAndNext
. -
def
zipWithScan[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[F, (O, O2)]
Alias for
self through pipe.zipWithScan
. -
def
zipWithScan1[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[F, (O, O2)]
Alias for
self through pipe.zipWithScan1
. -
def
→[B](y: B): (Stream[F, O], B)
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to ArrowAssoc[Stream[F, O]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if F is a subclass of Pure (F <: Pure) and at the same time O is a subclass of Option[Nothing] (O <: Option[Nothing]).
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
++[G[_], Lub[_], O2 >: O](s2: ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[Nothing, G, Lub]): Stream[Lub, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).++(s2)(R, L)
-
def
append[G[_], Lub[_], O2 >: O](s2: ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[Nothing, G, Lub]): Stream[Lub, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).append(s2)(R, L)
-
def
attempt: Stream[Nothing, Attempt[O]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).attempt
-
def
buffer(n: Int): Stream[Nothing, O]
Alias for
self through pipe.buffer
.Alias for
self through pipe.buffer
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).buffer(n)
-
def
bufferAll: Stream[Nothing, O]
Alias for
self through pipe.bufferAll
.Alias for
self through pipe.bufferAll
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).bufferAll
-
def
bufferBy(f: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.bufferBy
.Alias for
self through pipe.bufferBy
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).bufferBy(f)
-
def
changes: Stream[Nothing, O]
Alias for
self through pipe.changes
.Alias for
self through pipe.changes
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).changes
-
def
changesBy[O2](f: (O) ⇒ O2): Stream[Nothing, O]
Alias for
self through pipe.changesBy
.Alias for
self through pipe.changesBy
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).changesBy(f)
-
def
chunkLimit(n: Int): Stream[Nothing, NonEmptyChunk[O]]
Alias for
self through pipe.chunkLimit
.Alias for
self through pipe.chunkLimit
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).chunkLimit(n)
-
def
chunkN(n: Int, allowFewer: Boolean = true): Stream[Nothing, List[NonEmptyChunk[O]]]
Alias for
self through pipe.chunkN
.Alias for
self through pipe.chunkN
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).chunkN(n, allowFewer)
-
def
chunks: Stream[Nothing, NonEmptyChunk[O]]
Alias for
self through pipe.chunks
.Alias for
self through pipe.chunks
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).chunks
-
def
collect[O2](pf: PartialFunction[O, O2]): Stream[Nothing, O2]
Alias for
self through pipe.collect
.Alias for
self through pipe.collect
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).collect(pf)
-
def
collectFirst[O2](pf: PartialFunction[O, O2]): Stream[Nothing, O2]
Alias for
self through pipe.collectFirst
.Alias for
self through pipe.collectFirst
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).collectFirst(pf)
-
def
cons[O2 >: O](c: Chunk[O2])(implicit T: RealSupertype[O, O2]): Stream[Nothing, O2]
Prepend a single chunk onto the front of this stream.
Prepend a single chunk onto the front of this stream.
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).cons(c)(T)
-
def
cons1[O2 >: O](a: O2)(implicit T: RealSupertype[O, O2]): Stream[Nothing, O2]
Prepend a single value onto the front of this stream.
Prepend a single value onto the front of this stream.
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).cons1(a)(T)
-
def
covary[F2[_]](implicit S: Sub1[Nothing, F2]): Stream[F2, O]
Converts this stream to a stream of the specified subtype.
Converts this stream to a stream of the specified subtype.
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).covary(S)
-
def
delete(f: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.delete
.Alias for
self through pipe.delete
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).delete(f)
-
def
drain: Stream[Nothing, Nothing]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).drain
-
def
drop(n: Long): Stream[Nothing, O]
Alias for
self through pipe.drop
.Alias for
self through pipe.drop
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).drop(n)
-
def
dropLast: Stream[Nothing, O]
Alias for
self through pipe.dropLast
.Alias for
self through pipe.dropLast
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).dropLast
-
def
dropLastIf(p: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.dropLastIf
.Alias for
self through pipe.dropLastIf
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).dropLastIf(p)
-
def
dropRight(n: Int): Stream[Nothing, O]
Alias for
self through pipe.dropRight
.Alias for
self through pipe.dropRight
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).dropRight(n)
-
def
dropWhile(p: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.dropWhile
Alias for
self through pipe.dropWhile
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).dropWhile(p)
-
def
either[F2[_], O2](s2: Stream[F2, O2])(implicit arg0: Async[F2], S: Sub1[Nothing, F2]): Stream[F2, Either[O, O2]]
Alias for
(this through2v s2)(pipe2.either)
.Alias for
(this through2v s2)(pipe2.either)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).either(s2)(arg0, S)
-
def
evalMap[G[_], Lub[_], O2](f: (O) ⇒ G[O2])(implicit L: Lub1[Nothing, G, Lub]): Stream[Lub, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).evalMap(f)(L)
-
def
exists(f: (O) ⇒ Boolean): Stream[Nothing, Boolean]
Alias for
self through pipe.exists
.Alias for
self through pipe.exists
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).exists(f)
-
def
fetchAsync[F2[_], O2 >: O](implicit F2: Async[F2], S: Sub1[Nothing, F2], T: RealSupertype[O, O2]): Stream[F2, ScopedFuture[F2, Stream[F2, O2]]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).fetchAsync(F2, S, T)
-
def
filter(f: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.filter
.Alias for
self through pipe.filter
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).filter(f)
-
def
filterWithPrevious(f: (O, O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.filterWithPrevious
.Alias for
self through pipe.filterWithPrevious
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).filterWithPrevious(f)
-
def
find(f: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.find
.Alias for
self through pipe.find
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).find(f)
-
def
flatMap[G[_], Lub[_], O2](f: (O) ⇒ Stream[G, O2])(implicit L: Lub1[Nothing, G, Lub]): Stream[Lub, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).flatMap(f)(L)
-
def
fold[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.fold(z)(f)
.Alias for
self through pipe.fold(z)(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).fold(z)(f)
-
def
fold1[O2 >: O](f: (O2, O2) ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.fold1(f)
.Alias for
self through pipe.fold1(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).fold1(f)
-
def
forall(f: (O) ⇒ Boolean): Stream[Nothing, Boolean]
Alias for
self through pipe.forall
.Alias for
self through pipe.forall
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).forall(f)
-
def
interleave[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).interleave(s2)(R, S)
-
def
interleaveAll[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).interleaveAll(s2)(R, S)
-
def
interruptWhen[F2[_]](haltWhenTrue: Signal[F2, Boolean])(implicit S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O]
Alias for
(haltWhenTrue.discrete through2 this)(pipe2.interrupt)
.Alias for
(haltWhenTrue.discrete through2 this)(pipe2.interrupt)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).interruptWhen(haltWhenTrue)(S, F2)
-
def
interruptWhen[F2[_]](haltWhenTrue: Stream[F2, Boolean])(implicit S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O]
Alias for
(haltWhenTrue through2 this)(pipe2.interrupt)
.Alias for
(haltWhenTrue through2 this)(pipe2.interrupt)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).interruptWhen(haltWhenTrue)(S, F2)
-
def
intersperse[O2 >: O](separator: O2): Stream[Nothing, O2]
Alias for
self through pipe.intersperse
.Alias for
self through pipe.intersperse
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).intersperse(separator)
-
def
last: Stream[Nothing, Option[O]]
Alias for
self through pipe.last
.Alias for
self through pipe.last
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).last
-
def
lastOr[O2 >: O](li: ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.lastOr
.Alias for
self through pipe.lastOr
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).lastOr(li)
-
def
map[O2](f: (O) ⇒ O2): Stream[Nothing, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).map(f)
-
def
mapAccumulate[S, O2](init: S)(f: (S, O) ⇒ (S, O2)): Stream[Nothing, (S, O2)]
Alias for
self through pipe.mapAccumulate
Alias for
self through pipe.mapAccumulate
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mapAccumulate(init)(f)
-
def
mapChunks[O2](f: (Chunk[O]) ⇒ Chunk[O2]): Stream[Nothing, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mapChunks(f)
-
def
mask: Stream[Nothing, O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mask
-
def
merge[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).merge(s2)(R, S, F2)
-
def
mergeDrainL[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mergeDrainL(s2)(S, F2)
-
def
mergeDrainR[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mergeDrainR(s2)(S, F2)
-
def
mergeHaltBoth[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mergeHaltBoth(s2)(R, S, F2)
-
def
mergeHaltL[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mergeHaltL(s2)(R, S, F2)
-
def
mergeHaltR[F2[_], O2 >: O](s2: Stream[F2, O2])(implicit R: RealSupertype[O, O2], S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).mergeHaltR(s2)(R, S, F2)
-
def
noneTerminate: Stream[Nothing, Option[O]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).noneTerminate
-
def
observe[F2[_], O2 >: O](sink: Sink[F2, O2])(implicit F: Async[F2], R: RealSupertype[O, O2], S: Sub1[Nothing, F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).observe(sink)(F, R, S)
-
def
observeAsync[F2[_], O2 >: O](sink: Sink[F2, O2], maxQueued: Int)(implicit F: Async[F2], R: RealSupertype[O, O2], S: Sub1[Nothing, F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).observeAsync(sink, maxQueued)(F, R, S)
-
def
onError[G[_], Lub[_], O2 >: O](f: (Throwable) ⇒ Stream[G, O2])(implicit R: RealSupertype[O, O2], L: Lub1[Nothing, G, Lub]): Stream[Lub, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).onError(f)(R, L)
-
def
onFinalize[F2[_]](f: F2[Unit])(implicit S: Sub1[Nothing, F2], F2: Applicative[F2]): Stream[F2, O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).onFinalize(f)(S, F2)
-
def
open: Pull[Nothing, Nothing, Handle[Nothing, O]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).open
-
def
output: Pull[Nothing, O, Unit]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).output
-
def
prefetch[F2[_]](implicit S: Sub1[Nothing, F2], F2: Async[F2]): Stream[F2, O]
Alias for
self through pipe.prefetch(f).
Alias for
self through pipe.prefetch(f).
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).prefetch(S, F2)
-
def
pull[F2[_], O2](using: (Handle[Nothing, O]) ⇒ Pull[F2, O2, Any])(implicit S: Sub1[Nothing, F2]): Stream[F2, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).pull(using)(S)
-
def
pure(implicit S: Sub1[Nothing, Pure]): Stream[Pure, O]
Converts a
Stream[Nothing,O]
in to aStream[Pure,O]
.Converts a
Stream[Nothing,O]
in to aStream[Pure,O]
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).pure(S)
-
def
rechunkN(n: Int, allowFewer: Boolean = true): Stream[Nothing, O]
Alias for
self through pipe.rechunkN(f).
Alias for
self through pipe.rechunkN(f).
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).rechunkN(n, allowFewer)
-
def
reduce[O2 >: O](f: (O2, O2) ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.reduce(z)(f)
.Alias for
self through pipe.reduce(z)(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).reduce(f)
-
def
repeat: Stream[Nothing, O]
Repeat this stream an infinite number of times.
Repeat this stream an infinite number of times.
s.repeat == s ++ s ++ s ++ ...
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).repeat
-
def
runFoldFree[O2](z: O2)(f: (O2, O) ⇒ O2): Free[Nothing, O2]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).runFoldFree(z)(f)
-
def
runFree: Free[Nothing, Unit]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).runFree
-
def
runLogFree: Free[Nothing, Vector[O]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).runLogFree
-
def
scan[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.scan(z)(f)
.Alias for
self through pipe.scan(z)(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).scan(z)(f)
-
def
scan1[O2 >: O](f: (O2, O2) ⇒ O2): Stream[Nothing, O2]
Alias for
self through pipe.scan1(f)
.Alias for
self through pipe.scan1(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).scan1(f)
-
def
scope: Stream[Nothing, O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).scope
-
def
shiftRight[O2 >: O](head: O2*): Stream[Nothing, O2]
Alias for
self through pipe.shiftRight
.Alias for
self through pipe.shiftRight
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).shiftRight(head)
-
def
sliding(n: Int): Stream[Nothing, Vector[O]]
Alias for
self through pipe.sliding
.Alias for
self through pipe.sliding
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).sliding(n)
-
def
split(f: (O) ⇒ Boolean): Stream[Nothing, Vector[O]]
Alias for
self through pipe.split
.Alias for
self through pipe.split
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).split(f)
-
def
step: Pull[Nothing, Nothing, (NonEmptyChunk[O], Handle[Nothing, O])]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).step
-
def
stepAsync[F2[_], O2 >: O](implicit S: Sub1[Nothing, F2], F2: Async[F2], T: RealSupertype[O, O2]): Pull[F2, Nothing, ScopedFuture[F2, Pull[F2, Nothing, (NonEmptyChunk[O2], Handle[F2, O2])]]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).stepAsync(S, F2, T)
-
def
sum[O2 >: O](implicit arg0: Numeric[O2]): Stream[Nothing, O2]
Alias for
self through pipe.sum(f)
.Alias for
self through pipe.sum(f)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).sum(arg0)
-
def
tail: Stream[Nothing, O]
Alias for
self through pipe.tail
.Alias for
self through pipe.tail
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).tail
-
def
take(n: Long): Stream[Nothing, O]
Alias for
self through pipe.take(n)
.Alias for
self through pipe.take(n)
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).take(n)
-
def
takeRight(n: Long): Stream[Nothing, O]
Alias for
self through pipe.takeRight
.Alias for
self through pipe.takeRight
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).takeRight(n)
-
def
takeThrough(p: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.takeThrough
.Alias for
self through pipe.takeThrough
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).takeThrough(p)
-
def
takeWhile(p: (O) ⇒ Boolean): Stream[Nothing, O]
Alias for
self through pipe.takeWhile
.Alias for
self through pipe.takeWhile
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).takeWhile(p)
-
def
through2v[F2[_], O2, O3](s2: Stream[F2, O2])(f: Pipe2[F2, O, O2, O3])(implicit S: Sub1[Nothing, F2]): Stream[F2, O3]
Like
through2
, but the specifiedPipe2
's effect may be a supertype ofF
.Like
through2
, but the specifiedPipe2
's effect may be a supertype ofF
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).through2v(s2)(f)(S)
-
def
throughv[F2[_], O2](f: Pipe[F2, O, O2])(implicit S: Sub1[Nothing, F2]): Stream[F2, O2]
Like
through
, but the specifiedPipe
's effect may be a supertype ofF
.Like
through
, but the specifiedPipe
's effect may be a supertype ofF
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).throughv(f)(S)
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).toString()
- Definition Classes
- Stream → AnyRef → Any
-
def
tov[F2[_]](f: Sink[F2, O])(implicit S: Sub1[Nothing, F2]): Stream[F2, Unit]
Like
to
, but the specifiedSink
's effect may be a supertype ofF
.Like
to
, but the specifiedSink
's effect may be a supertype ofF
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).tov(f)(S)
-
def
translate[G[_]](u: ~>[Nothing, G]): Stream[G, O]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).translate(u)
-
def
unchunk: Stream[Nothing, O]
Alias for
self through pipe.unchunk
.Alias for
self through pipe.unchunk
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).unchunk
-
def
uncons: Stream[Nothing, Option[(NonEmptyChunk[O], Stream[Nothing, O])]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).uncons
-
def
uncons1: Stream[Nothing, Option[(O, Stream[Nothing, O])]]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).uncons1
-
def
vectorChunkN(n: Int, allowFewer: Boolean = true): Stream[Nothing, Vector[O]]
Alias for
self through pipe.vectorChunkN
.Alias for
self through pipe.vectorChunkN
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).vectorChunkN(n, allowFewer)
-
def
zip[F2[_], O2](s2: Stream[F2, O2])(implicit S: Sub1[Nothing, F2]): Stream[F2, (O, O2)]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zip(s2)(S)
-
def
zipWith[F2[_], O2, O3](s2: Stream[F2, O2])(f: (O, O2) ⇒ O3)(implicit S: Sub1[Nothing, F2]): Stream[F2, O3]
- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWith(s2)(f)(S)
-
def
zipWithIndex: Stream[Nothing, (O, Int)]
Alias for
self through pipe.zipWithIndex
.Alias for
self through pipe.zipWithIndex
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithIndex
-
def
zipWithNext: Stream[Nothing, (O, Option[O])]
Alias for
self through pipe.zipWithNext
.Alias for
self through pipe.zipWithNext
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithNext
-
def
zipWithPrevious: Stream[Nothing, (Option[O], O)]
Alias for
self through pipe.zipWithPrevious
.Alias for
self through pipe.zipWithPrevious
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithPrevious
-
def
zipWithPreviousAndNext: Stream[Nothing, (Option[O], O, Option[O])]
Alias for
self through pipe.zipWithPreviousAndNext
.Alias for
self through pipe.zipWithPreviousAndNext
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithPreviousAndNext
-
def
zipWithScan[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[Nothing, (O, O2)]
Alias for
self through pipe.zipWithScan
.Alias for
self through pipe.zipWithScan
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithScan(z)(f)
-
def
zipWithScan1[O2](z: O2)(f: (O2, O) ⇒ O2): Stream[Nothing, (O, O2)]
Alias for
self through pipe.zipWithScan1
.Alias for
self through pipe.zipWithScan1
.- Implicit
- This member is added by an implicit conversion from Stream[F, O] to Stream[Nothing, O] performed by method covaryPure in fs2.Stream. This conversion will take place only if F is a subclass of Pure (F <: Pure).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(stream: Stream[Nothing, O]).zipWithScan1(z)(f)