Interface ICommand

Hierarchy

Properties

$correlationId?: string

UUID related to a single "transaction" within the system, passed from commands to events to commands etc...

$executionDomain: string
$metadata?: IRequestMetadata

Object containing metadata about the initiating request

$name: string

Event name. Defaults to the name of the constructor

$type: EventType

Differentiating between Commands, Events, and Queries

$uuid: string

UUID to individually identify an event

$version: number

Event revision version

STREAM_ID: string

Getter for streamId if it exits in the command

Generated using TypeDoc