object Yield
- Alphabetic
- By Inheritance
- Yield
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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.
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
-
final
case class
Some[-I, +O, +E](out: O, status: Status[E], evolution: Evolution[I, O, E]) extends Yield[I, O, E] with Product with Serializable
A yield carrying an output.
A yield carrying an output.
In a pipeline the output becomes the downstream stage's input, and the two yields are merged into one.
- I
the input type of the stages held by the evolution (contravariant)
- O
the output type (covariant)
- E
the error type (covariant)
- out
the output value
- status
the status of the run that produced this yield
- evolution
the continuation
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
-
def
apply[I, O, E](out: Option[O], status: Status[E], evolution: Evolution[I, O, E]): Yield[I, O, E]
Selects the variant by the optional output:
scala.Somegives a Yield.Some,scala.Nonea Yield.None.Selects the variant by the optional output:
scala.Somegives a Yield.Some,scala.Nonea Yield.None. For when the presence of an output is only known at runtime. -
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
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapply[I, O, E](yld: Yield[I, O, E]): scala.Some[(Option[O], Status[E], Evolution[I, O, E])]
Matches any yield as
Yield(out, status, evolution)with the output optional — the inverse of apply, for the cases where both variants are treated uniformly.Matches any yield as
Yield(out, status, evolution)with the output optional — the inverse of apply, for the cases where both variants are treated uniformly. Thescala.Somereturn type marks the extractor as irrefutable: a singlecase Yield(...)is exhaustive.The components are read off the yield directly:
outOptionis exactly the optional output this extractor is for, and both variants carry the status and the evolution alike. -
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