final case class None[-I, +O, +E](status: Status[E], evolution: Evolution[I, O, E]) extends Yield[I, O, E] with Product with Serializable
A yield carrying no output — a filter dropping an input, a stage with nothing to report yet. The status and the evolution are still there, so the pipeline continues as usual.
- I
the input type of the stages held by the evolution (contravariant)
- O
the output type never produced here (covariant)
- E
the error type (covariant)
- status
the status of the run that produced this yield
- evolution
the continuation
- Alphabetic
- By Inheritance
- None
- Serializable
- Product
- Equals
- Yield
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val evolution: Evolution[I, O, E]
The continuation: which stage handles the next input, given status.
- def evolve(): Stage[I, O, E]
The stage that handles the next input: the continuation this yield's own status selects.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[_I, _O, _E](mapOut: (O) => _O, mapStatus: (Status[E]) => Status[_E], mapEvolution: (Evolution[I, O, E]) => Evolution[_I, _O, _E]): Yield[_I, _O, _E]
Transforms all three components at once.
Transforms all three components at once.
mapOutis not called on a Yield.None, which has no output to transform, but is still required so that the result type is the same for both variants. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def outOption: Option[O]
The output as an
Option— for when only its presence matters.The output as an
Option— for when only its presence matters. Prefer matching on Yield.Some / Yield.None when the status or the evolution is needed too. - def productElementNames: Iterator[String]
- Definition Classes
- Product
- val status: Status[E]
The status of the run that produced this yield.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)