Struct ProtoMessageAwaitSnapshot
One scan of a consumer's source: the candidate deliveries at or after the awaited position, and the wake-up the scan arms for the deliveries that arrive after it. A source whose deliveries are already held - a log the consumer reads itself - leaves Changed null, because its next wait watches that storage directly.
public readonly record struct ProtoMessageAwaitSnapshot : IEquatable<ProtoMessageAwaitSnapshot>
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoMessageAwaitSnapshot(IReadOnlyList<ProtoMessageAwaitEntry>, Task?)
One scan of a consumer's source: the candidate deliveries at or after the awaited position, and the wake-up the scan arms for the deliveries that arrive after it. A source whose deliveries are already held - a log the consumer reads itself - leaves Changed null, because its next wait watches that storage directly.
public ProtoMessageAwaitSnapshot(IReadOnlyList<ProtoMessageAwaitEntry> Candidates, Task? Changed)
Parameters
CandidatesIReadOnlyList<ProtoMessageAwaitEntry>ChangedTask
Properties
Candidates
public IReadOnlyList<ProtoMessageAwaitEntry> Candidates { get; init; }
Property Value
Changed
public Task? Changed { get; init; }