Struct EventDelivery
An envelope/payload pair delivered from a topic subscription.
public readonly record struct EventDelivery : IEquatable<EventDelivery>
- Implements
- Inherited Members
Constructors
EventDelivery(IEventEnvelope, object)
An envelope/payload pair delivered from a topic subscription.
public EventDelivery(IEventEnvelope Envelope, object Event)
Parameters
EnvelopeIEventEnvelopeEnvelope carrying routing/timing metadata.
EventobjectEvent payload (typed as
object; cast at the call site).
Properties
Envelope
Envelope carrying routing/timing metadata.
public IEventEnvelope Envelope { get; init; }
Property Value
Event
Event payload (typed as object; cast at the call site).
public object Event { get; init; }