h8io.stages.Yield
See theYield companion object
What a Stage returns for one input: an optional output, the Status of that run, and the Evolution that picks the stage handling the next one.
Yield is the internal value flowing from stage to stage, not the answer the pipeline gives to the outside world — that is h8io.stages.base.Outcome in the lib module, produced once someone terminates the pipeline.
There are two variants, Yield.Some and Yield.None, according to whether an output was produced. Match on them when the two cases are handled differently, on Yield itself when they are not.
Type parameters
- E
-
the error type (covariant)
- I
-
the input type of the stages held by the evolution (contravariant)
- O
-
the output type (covariant)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article