Outcome

h8io.stages.base.Outcome
See theOutcome companion object
sealed trait Outcome[+O, +E]

The final result of executing a h8io.stages.Stage via the execute extension method (see StageOps).

Unlike h8io.stages.Yield, an Outcome does not carry an h8io.stages.Evolution; it is the terminal value returned to the caller after the pipeline has finished processing a single input. The h8io.stages.Status indicates whether execution succeeded (Status.Success) or completed (Status.Complete), with or without accumulated errors. If disposing the evolution fails, the exception is recorded in Outcome.disposeFailure without preventing the outcome from being returned.

Type parameters

E

the error type (covariant)

O

the output type (covariant)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class None[E]
class Some[O, E]

Members list

Value members

Abstract fields

val disposeFailure: Option[Throwable]

A non-fatal failure that occurred while disposing the evolution, if any.

A non-fatal failure that occurred while disposing the evolution, if any.

Attributes

val status: Status[E]

The status of the completed execution.

The status of the completed execution.

Attributes