Setu-TS
    Preparing search index...

    Interface IntegrationEventMetadata

    Optional causal metadata for publishIntegrationEvent.

    Each field is omitted from the published envelope when absent — never written as undefined. causedBy returns a value assignable to this interface.

    0.6.0

    interface IntegrationEventMetadata {
        aggregateId?: string;
        aggregateVersion?: number;
        causationId?: string;
        correlationId?: string;
    }
    Index
    aggregateId?: string

    ID of the aggregate the event concerns.

    aggregateVersion?: number

    Version of the aggregate the event concerns.

    causationId?: string

    ID of the event that directly caused this one.

    correlationId?: string

    ID of the causal chain root this event descends from.