Header menu logo FCQRS

Event<'EventDetails> Type

Represents an event generated by an aggregate actor as a result of processing a command. The specific type of the event payload.

Record fields

Record Field Description

CorrelationId

Full Usage: CorrelationId

Field type: CID

The correlation ID linking the event back to the originating command.

Field type: CID

CreationDate

Full Usage: CreationDate

Field type: DateTime

The timestamp when the event was created.

Field type: DateTime

EventDetails

Full Usage: EventDetails

Field type: 'EventDetails

The specific details or payload of the event.

Field type: 'EventDetails

Id

Full Usage: Id

Field type: MessageId

A unique identifier for the message.

Field type: MessageId

Metadata

Full Usage: Metadata

Field type: Map<string, string>

Metadata associated with the event.

Field type: Map<string, string>

Sender

Full Usage: Sender

Field type: ActorId option

An optional identifier for the actor that generated the event.

Field type: ActorId option

Version

Full Usage: Version

Field type: Version

The version number of the aggregate after this event was applied.

Field type: Version

Type something to start searching.