h8io.stages.Evolution
See theEvolution companion object
The continuation of a Stage: which stage handles the next input, chosen by the Status of the run that just finished. This is what makes a pipeline able to change as it runs — every Yield carries one.
An Evolution is also the exclusive owner of cleanup for the stage that produced it: see dispose.
The status to select on is the one carried alongside the evolution in the same yield, which is why callers normally go through Yield.evolve rather than dispatching on a status themselves. In a composed pipeline that status is the combined one of the whole run, never a single stage's own.
Type parameters
- E
-
the error type (covariant)
- I
-
the input type of the stages returned (contravariant)
- O
-
their output type (covariant)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article