Skip to content

es cqrs.ReplayFinished

Sclable CI edited this page Feb 21, 2022 · 198 revisions

Class: ReplayFinished

es-cqrs.ReplayFinished

Last event appended to replay list

Implement a handler for this event to know when the replay actually finishes

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new ReplayFinished(aggregateId, aggregateType, revision, createdAt, userId, data, customOptions?)

Parameters

Name Type
aggregateId string
aggregateType string
revision number
createdAt Date
userId string
data Record<string, never>
customOptions? CustomEventOptions

Inherited from

DefaultEvent.constructor

Defined in

packages/es-cqrs/src/default-event.ts:17

Properties

aggregateId

Readonly aggregateId: string

Inherited from

DefaultEvent.aggregateId


aggregateType

Readonly aggregateType: string

Inherited from

DefaultEvent.aggregateType


createdAt

Readonly createdAt: Date

Inherited from

DefaultEvent.createdAt


customOptions

Optional Readonly customOptions: CustomEventOptions

Inherited from

DefaultEvent.customOptions


data

Readonly data: Record<string, never>

Inherited from

DefaultEvent.data


revision

Readonly revision: number

Inherited from

DefaultEvent.revision


userId

Readonly userId: string

Inherited from

DefaultEvent.userId

Clone this wiki locally