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
DefaultTimeout
Gets or sets the default timeout for aggregation. Default: 30 seconds.
public TimeSpan DefaultTimeout { get; init; }
Property Value
FailFastOnError
Gets or sets whether to fail fast on first error. Default: false.
public bool FailFastOnError { get; init; }
Property Value
IncludePartialResults
Gets or sets whether to include partial results on timeout. Default: true.
public bool IncludePartialResults { get; init; }
Property Value
MinimumSuccessCount
Gets or sets the minimum number of successful responses required. Default: 0 (all must succeed).
public int MinimumSuccessCount { get; init; }