Table of Contents

Class AggregationOptions

Namespace
DotCompute.Abstractions.Messaging
Assembly
DotCompute.Abstractions.dll

Configuration options for message aggregation.

public sealed record AggregationOptions : IEquatable<AggregationOptions>
Inheritance
AggregationOptions
Implements
Inherited Members

Properties

Default

Default aggregation options.

public static AggregationOptions Default { get; }

Property Value

AggregationOptions

DefaultTimeout

Gets or sets the default timeout for aggregation. Default: 30 seconds.

public TimeSpan DefaultTimeout { get; init; }

Property Value

TimeSpan

FailFastOnError

Gets or sets whether to fail fast on first error. Default: false.

public bool FailFastOnError { get; init; }

Property Value

bool

IncludePartialResults

Gets or sets whether to include partial results on timeout. Default: true.

public bool IncludePartialResults { get; init; }

Property Value

bool

MinimumSuccessCount

Gets or sets the minimum number of successful responses required. Default: 0 (all must succeed).

public int MinimumSuccessCount { get; init; }

Property Value

int