-
Notifications
You must be signed in to change notification settings - Fork 2
es cqrs.ReplayFinished
Sclable CI edited this page Apr 4, 2022
·
198 revisions
es-cqrs.ReplayFinished
Last event appended to replay list
Implement a handler for this event to know when the replay actually finishes
-
DefaultEvent<Record<string,never>>↳
ReplayFinished
• new ReplayFinished(aggregateId, aggregateType, revision, createdAt, userId, data, customOptions?)
| Name | Type |
|---|---|
aggregateId |
string |
aggregateType |
string |
revision |
number |
createdAt |
Date |
userId |
string |
data |
Record<string, never> |
customOptions? |
CustomEventOptions |
packages/es-cqrs/src/default-event.ts:17
• Readonly aggregateId: string
• Readonly aggregateType: string
• Readonly createdAt: Date
• Optional Readonly customOptions: CustomEventOptions
• Readonly data: Record<string, never>
• Readonly revision: number
• Readonly userId: string