implicit final class StreamPullOps[F[_], O] extends AnyVal
- Source
- Pull.scala
- Alphabetic
- By Inheritance
- StreamPullOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def stream: Stream[F, O]
Interprets this pull to produce a stream.
Interprets this pull to produce a stream. This method introduces a resource scope, to ensure any resources acquired by this pull are released in due course, even if the resulting stream does not terminate successfully.
May only be called on pulls which return a
Unit
result type. Usep.void.stream
to explicitly ignore the result type of the pull. - def streamNoScope: Stream[F, O]
Interpret this
Pull
to produce aStream
without introducing a scope.Interpret this
Pull
to produce aStream
without introducing a scope.Only use this if you know a scope is not needed. Scope introduction is
generally harmless and the risk of not introducing a scope is a memory leak in streams that otherwise would execute in constant memory.
May only be called on pulls whose result type is
Unit
. Usep.void.stream
to explicitly ignore the result of a pull. - def toString(): String
- Definition Classes
- Any