Options
All
  • Public
  • Public/Protected
  • All
Menu

Events are plain javascript objects, they have 3 mandatory properties (aggregate, id and sequence) and as much custom properties that you need to describe what happened.

Hierarchy

  • Event

Indexable

[x: string]: any

Any additional serializable properties.

Index

Properties

Properties

aggregate

aggregate: string

An event is always related to a specific aggregate.

id

id: string

The id of the specific entity that emitted the event.

sequence

sequence: number

For each entity, events are sequentially numbered.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc