Struct CollectedBatch<TItem>
A batch the collector gathered.
public readonly record struct CollectedBatch<TItem> : IEquatable<CollectedBatch<TItem>>
Implements
Properties
Interrupted
The consumer stopped while the batch was still being collected. Such a batch is not run: the consumer gives its
public bool Interrupted { get; init; }
Constructors
CollectedBatch(IReadOnlyList<TItem>, bool)
A batch the collector gathered.