Skip to content

es cqrs.Function.EventSourcableAggregate

Sclable CI edited this page Oct 7, 2024 · 7 revisions

@sclable/nestjs-libs / es-cqrs / EventSourcableAggregate

Function: EventSourcableAggregate()

EventSourcableAggregate(...events): ClassDecorator

Decorator to define events that can affect the aggregate

Parameters

• ...events: EventConstructor[]

Returns

ClassDecorator

Defined in

packages/es-cqrs/src/decorators/event-sourcable-aggregate.decorator.ts:7

Clone this wiki locally