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
- Serializable
- Product
- Equals
- Yield
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @IntrinsicCandidate()
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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. -
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated