sealed trait Status[+E] extends AnyRef
The execution status produced by a Stage.
A Status travels alongside the output (or absence of output) in a Yield and is accumulated as stages are
composed. There are two possible states:
- Status.Success — the stage completed normally and processing may continue.
- Status.Complete — a unit of work has finished. Passed to Evolution when selecting the next continuation
stage; enclosing alterators such as
LooporRepeatuse it to end the current cycle. Whenerrorsis empty this represents clean completion; whenerrorsis non-empty it carries one or more accumulated errors.
Statuses form a semigroup under combine, used when merging the results of composed stages: Success is the
identity element and Complete accumulates errors on combination.
- E
the error type (covariant)
- Source
- Status.scala
- Alphabetic
- By Inheritance
- Status
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def combine[_E >: E](next: Status[_E]): Status[_E]
Combines this status with
next, returning the more severe of the two.Combines this status with
next, returning the more severe of the two.Successis the identity element;CompletedominatesSuccessand twoCompletevalues are merged by concatenating their error sequences. - abstract def map[_E](f: (E) => _E): Status[_E]
Transforms the error values contained in this status.
Transforms the error values contained in this status.
- _E
the resulting error type
- f
the mapping function applied to each error value
- returns
a new
Statuswith errors mapped byf
Concrete 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
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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)