Skip to main content
Table of Contents

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

Outcome ProjectionWaitOutcome

Reached where the projection got there; otherwise the most telling state of the partitions behind — stalled before suspended before timed out — or MarkNotApplicable.

Behind IReadOnlyList<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

IReadOnlyList<ProjectionPartitionLag>

IsReached

Whether the projection has applied every entry the mark covers.

public bool IsReached { get; }

Property Value

bool

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; }

Property Value

ProjectionWaitOutcome