fs2.Stream$.OptionStreamOps
Attributes
- Source:
- Stream.scala
- Graph
- Supertypes
class AnyVal
trait Matchable
class Any
Members list
Concise view
Value members
Attributes
- Example:
scala> Stream(Some(1), Some(2), None, Some(3), None).unNone.toList
res0: List[Int] = List(1, 2, 3)
- Source:
- Stream.scala
Halts the input stream at the first None
.
Halts the input stream at the first None
.
Attributes
- Example:
scala> Stream(Some(1), Some(2), None, Some(3), None).unNoneTerminate.toList
res0: List[Int] = List(1, 2)
- Source:
- Stream.scala