CommittedEvent<M>: Message<M, keyof M & string> & {
    created: Date;
    id: number;
    metadata: CommittedEventMetadata;
    stream: string;
    version: number;
}

Committed events are messages with commit details

  • id the unique index of the event in the "all" stream
  • stream the reducible stream name of the artifact that produced the event
  • version the unique and continuous sequence number within the stream
  • created the date-time of creation
  • metadata the event metadata

Type Parameters

Type declaration

  • Readonly created: Date
  • Readonly id: number
  • Readonly metadata: CommittedEventMetadata
  • Readonly stream: string
  • Readonly version: number

Generated using TypeDoc