Struct CollectedBatch<TItem>

Assembly: redb.Route.dll

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

Items

The messages, in the order they were received.

public IReadOnlyList<TItem> Items { get; init; }

Constructors

CollectedBatch(IReadOnlyList<TItem>, bool)

A batch the collector gathered.