h8io.stages.Status
See theStatus companion object
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; the enclosing cycle operators (
Loop,Repeatand the rest ofh8io.stages.cyclesin the lib module) use 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 monoid under combine, used when merging the results of composed stages: Success is the identity element and Complete accumulates errors on combination.
Type parameters
- E
-
the error type (covariant)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article