Struct ProtoMessageAwaitEntry

Namespace
ProtoTest.Messaging
Assembly
ProtoTest.Messaging.dll

One delivery a consumer can await over, with the position it occupies in its source's arrival order. Positions must be unique and increasing; a consumer only ever matches entries at or after its own position.

public readonly record struct ProtoMessageAwaitEntry : IEquatable<ProtoMessageAwaitEntry>
Implements
Inherited Members
Extension Methods

Constructors

ProtoMessageAwaitEntry(long, ProtoMessage)

One delivery a consumer can await over, with the position it occupies in its source's arrival order. Positions must be unique and increasing; a consumer only ever matches entries at or after its own position.

public ProtoMessageAwaitEntry(long Position, ProtoMessage Message)

Parameters

Position long
Message ProtoMessage

Properties

Message

public ProtoMessage Message { get; init; }

Property Value

ProtoMessage

Position

public long Position { get; init; }

Property Value

long