Class ProjectionWaitResult
- Namespace
- Stratara.Abstractions.Projections
- Assembly
- Stratara.Abstractions.dll
The answer of a wait for a projection.
[ExcludeFromCodeCoverage]
public sealed record ProjectionWaitResult : IEquatable<ProjectionWaitResult>
- Inheritance
-
ProjectionWaitResult
- Implements
- Inherited Members
- Extension Methods
Constructors
ProjectionWaitResult(ProjectionWaitOutcome, IReadOnlyList<ProjectionPartitionLag>)
The answer of a wait for a projection.
public ProjectionWaitResult(ProjectionWaitOutcome Outcome, IReadOnlyList<ProjectionPartitionLag> Behind)
Parameters
OutcomeProjectionWaitOutcomeReached where the projection got there; otherwise the most telling state of the partitions behind — stalled before suspended before timed out — or MarkNotApplicable.
BehindIReadOnlyList<ProjectionPartitionLag>The partitions that did not reach the mark; empty where it was reached or where the mark does not apply.
Properties
Behind
The partitions that did not reach the mark; empty where it was reached or where the mark does not apply.
public IReadOnlyList<ProjectionPartitionLag> Behind { get; init; }
Property Value
IsReached
Whether the projection has applied every entry the mark covers.
public bool IsReached { get; }
Property Value
Outcome
Reached where the projection got there; otherwise the most telling state of the partitions behind — stalled before suspended before timed out — or MarkNotApplicable.
public ProjectionWaitOutcome Outcome { get; init; }