Skip to content

es cqrs.Class.ReplayFinished

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

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

Class: ReplayFinished

Last event appended to replay list

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

Extends

Constructors

new ReplayFinished()

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

Parameters

aggregateId: string

aggregateType: string

revision: number

createdAt: Date

userId: string

data: Record<string, never>

customOptions?: CustomEventOptions

Returns

ReplayFinished

Inherited from

DefaultEvent.constructor

Defined in

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

Properties

aggregateId

readonly aggregateId: string

Inherited from

DefaultEvent.aggregateId

Defined in

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


aggregateType

readonly aggregateType: string

Inherited from

DefaultEvent.aggregateType

Defined in

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


createdAt

readonly createdAt: Date

Inherited from

DefaultEvent.createdAt

Defined in

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


customOptions?

readonly optional customOptions: CustomEventOptions

Inherited from

DefaultEvent.customOptions

Defined in

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


data

readonly data: Record<string, never>

Inherited from

DefaultEvent.data

Defined in

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


revision

readonly revision: number

Inherited from

DefaultEvent.revision

Defined in

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


userId

readonly userId: string

Inherited from

DefaultEvent.userId

Defined in

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

Clone this wiki locally